summaryrefslogtreecommitdiff
path: root/wvdial/Pkgfile
blob: bf13d34aeb06b50bf54ed8f019cae3ee6112dca4 (plain)
    1 # Description: Weave Dial - PPP dialer
    2 # URL:         https://code.google.com/archive/p/wvstreams/
    3 # Maintainer:  Juergen Daubert, jue at crux dot nu
    4 # Depends on:  ppp
    5 
    6 name=wvdial
    7 version=1.61
    8 release=7
    9 source=(https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/wvstreams/$name-$version.tar.gz \
   10         https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/wvstreams/wvstreams-4.6.1.tar.gz \
   11         $name-$version.patch \
   12         wvstreams-4.6.1-openssl.patch \
   13         wvstreams-4.6.1-include_stat.patch \
   14         wvstreams-4.6.1-gcc47.patch \
   15         wvstreams-4.6.1-use-explicit-cast.patch)
   16 
   17 build() {
   18 
   19     sed -i 's/-D_BSD_SOURCE/-D_DEFAULT_SOURCE/' */wvrules.mk
   20 
   21     cd wvstreams-4.6.1
   22 
   23     patch -p1 -i $SRC/wvstreams-4.6.1-use-explicit-cast.patch
   24     patch -p1 -i $SRC/wvstreams-4.6.1-openssl.patch
   25     patch -p1 -i $SRC/wvstreams-4.6.1-include_stat.patch
   26     patch -p1 -i $SRC/wvstreams-4.6.1-gcc47.patch
   27 
   28     ./configure --prefix=/usr --without-{pam,tcl,qt,dbus}
   29 
   30     CXXOPTS='-fno-tree-dce -fno-optimize-sibling-calls -fPIC -DPIC -w' \
   31     COPTS='-O2 -fPIC -DPIC' \
   32     make -j1
   33 
   34     cd $SRC/$name-$version
   35 
   36     patch -p1 -i $SRC/$name-$version.patch
   37 
   38     ./configure
   39     make -j1 WVS=$SRC/wvstreams-4.6.1
   40     make DESTDIR=$PKG install
   41 }

Generated by cgit