summaryrefslogtreecommitdiffstats
path: root/base/noip/Pkgfile
diff options
context:
space:
mode:
authorsibelle <lesibel@free.fr>2010-02-07 07:53:27 +0100
committersibelle <lesibel@free.fr>2010-02-07 07:53:27 +0100
commit8bd84b0edf380f00244be29090ce68f8b34456cc (patch)
treefba27cbe07e4774fcdd6443dead12a468d004c0e /base/noip/Pkgfile
parent53bff858c3ef02bf7ba9ee0e247488fc54f7c42e (diff)
parent5bd127c0743239bc774481e4a7b947719c984f5d (diff)
downloadnutyx-pakxe-8bd84b0edf380f00244be29090ce68f8b34456cc.tar.gz
nutyx-pakxe-8bd84b0edf380f00244be29090ce68f8b34456cc.tar.bz2
nutyx-pakxe-8bd84b0edf380f00244be29090ce68f8b34456cc.tar.xz
nutyx-pakxe-8bd84b0edf380f00244be29090ce68f8b34456cc.zip
Merge remote branch 'nutyx-2009/master'
Diffstat (limited to 'base/noip/Pkgfile')
-rw-r--r--base/noip/Pkgfile33
1 files changed, 33 insertions, 0 deletions
diff --git a/base/noip/Pkgfile b/base/noip/Pkgfile
new file mode 100644
index 000000000..66ad7bb23
--- /dev/null
+++ b/base/noip/Pkgfile
@@ -0,0 +1,33 @@
+# Description: noip Dynamic Update client
+# URL: http://ww.no-ip.com/
+# Maintainer: NuTyX coreteam
+# Packager: thierryn1 at hispeed dot ch
+
+name=noip
+version=2.1.9
+release=1
+source=("http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz"\
+ noip)
+
+build()
+{
+ cd $name-$version-$release
+ sed -i 's/PREFIX=\//PREFIX=/' Makefile
+ make
+ install -d $PKG/usr/bin
+ install -d $PKG/etc/noip
+ touch $PKG/etc/noip/no-ip2.conf
+ cp noip2 $PKG/usr/bin/
+ install -D -m755 ../noip $PKG/etc/rc.d/init.d/noip
+ for i in 0 1 2 3 4 5 6
+ do mkdir -p $PKG/etc/rc.d/rc$i.d
+ done
+ for i in 0 1 6
+ do ln -sv ../init.d/noip $PKG/etc/rc.d/rc$i.d/K05noip
+ done
+ for i in 3 4 5
+ do ln -sv ../init.d/noip $PKG/etc/rc.d/rc$i.d/S50noip
+ done
+
+# make DESTDIR=$PKG install
+}