wok-current diff ndppd/receipt @ rev 19713

Up: netsurf (3.6) - Getting better but not ready for default on slitaz!
author Christophe Lincoln <pankso@slitaz.org>
date Wed Feb 15 20:21:32 2017 +0100 (2017-02-15)
parents
children f261fa1783f9
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ndppd/receipt	Wed Feb 15 20:21:32 2017 +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 +}