diff options
author | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-11 21:51:03 +0200 |
---|---|---|
committer | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-11 21:51:03 +0200 |
commit | 91b6df2446fda9ef861db4fe501aa608c2495027 (patch) | |
tree | 8d685f02a6fbdef1b25e211905e38719d71456a5 /extra/noip/Pkgfile | |
parent | 4dbe6c8cdeb53d8e364e78d57acf66607ce53fda (diff) | |
download | nutyx-pakxe-91b6df2446fda9ef861db4fe501aa608c2495027.tar.gz nutyx-pakxe-91b6df2446fda9ef861db4fe501aa608c2495027.tar.bz2 nutyx-pakxe-91b6df2446fda9ef861db4fe501aa608c2495027.tar.xz nutyx-pakxe-91b6df2446fda9ef861db4fe501aa608c2495027.zip |
Ajout de noip#2.1.9-1
Diffstat (limited to 'extra/noip/Pkgfile')
-rw-r--r-- | extra/noip/Pkgfile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/extra/noip/Pkgfile b/extra/noip/Pkgfile new file mode 100644 index 000000000..b187f6bdd --- /dev/null +++ b/extra/noip/Pkgfile @@ -0,0 +1,34 @@ +# Description: noip Dynamic Update client +# URL: http://ww.no-ip.com/ +# Maintainer: NuTyX coreteam +# Packager: thierryn1 at hispeed dot ch +# Depends on: + +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 +} |