summaryrefslogtreecommitdiffstats
path: root/extra/ppp/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/ppp/Pkgfile')
-rw-r--r--extra/ppp/Pkgfile21
1 files changed, 21 insertions, 0 deletions
diff --git a/extra/ppp/Pkgfile b/extra/ppp/Pkgfile
new file mode 100644
index 000000000..c31f6cb71
--- /dev/null
+++ b/extra/ppp/Pkgfile
@@ -0,0 +1,21 @@
+# Description: Service (Démon) permettant la gestion des ligne téléphonique pour la communication internet
+# URL: http://samba.org/ppp
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: libpcap
+
+name=ppp
+version=2.4.4
+release=1
+source=(http://samba.org/ftp/$name/$name-$version.tar.gz
+ pppd)
+
+build() {
+ cd $name-$version
+ ./configure --prefix=/usr
+ make
+ make INSTROOT=$PKG install-etcppp
+ make INSTROOT=$PKG install
+ mkdir -p $PKG/etc/rc.d/init.d/
+ install -m755 ../pppd $PKG/etc/rc.d/init.d/
+}