summaryrefslogtreecommitdiff
path: root/ppp/Pkgfile
blob: 98ccc12b9473d691b7692426aeba38042cfceed6 (plain)
    1 # Description: A daemon which implements the PPP protocol for internetworking over dialup lines
    2 # URL:         https://www.samba.org/ppp/
    3 # Maintainer:  CRUX System Team, core-ports at crux dot nu
    4 # Depends on:  zlib, openssl
    5 
    6 name=ppp
    7 version=2.4.7
    8 release=3
    9 source=(http://ppp.samba.org/ftp/ppp/$name-$version.tar.gz \
   10         $name-nofilter.patch \
   11         0029-pppoe-include-netinet-in.h-before-linux-in.h.patch)
   12 
   13 build () {
   14     cd $name-$version
   15 
   16     patch -p1 -i $SRC/$name-nofilter.patch
   17 
   18     # http://pkgs.fedoraproject.org/cgit/rpms/ppp.git/tree/
   19     patch -p1 -i $SRC/0029-pppoe-include-netinet-in.h-before-linux-in.h.patch
   20 
   21     ./configure --prefix=/usr --sysconfdir=/etc
   22     make
   23     make -j1 INSTROOT=$PKG install install-etcppp
   24     chmod +w -R $PKG
   25 }

Generated by cgit