wok-current rev 18961
Add ndppd
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 09 11:50:22 2016 +0100 (2016-03-09) |
parents | f7a4afe63ba6 |
children | e930c84adc30 |
files | ndppd/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/ndppd/receipt Wed Mar 09 11:50:22 2016 +0100 1.3 @@ -0,0 +1,31 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="ndppd" 1.7 +VERSION="0.2.4" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="NDP Proxy Daemon" 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="GPL3" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="https://github.com/DanielAdolfsson/ndppd" 1.14 +WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" 1.15 +CONFIG_FILES="/etc/ndppd.conf" 1.16 +TAGS="ipv6" 1.17 + 1.18 +DEPENDS="gcc-lib-base" 1.19 + 1.20 +# Rules to configure and make the package. 1.21 +compile_rules() 1.22 +{ 1.23 + sed -i 's|/usr/local|/usr|' Makefile 1.24 + make all && 1.25 + make DESTDIR=$DESTDIR install 1.26 +} 1.27 + 1.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.29 +genpkg_rules() 1.30 +{ 1.31 + mkdir -p $fs/etc $fs/usr 1.32 + touch $fs/etc/ndppd.conf 1.33 + cp -a $install/usr/sbin $fs/usr 1.34 +}