wok-next annotate ndppd/receipt @ rev 20075
tiny edit
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Wed Oct 25 08:30:39 2017 +0200 (2017-10-25) |
parents | |
children | e776229a8fef |
rev | line source |
---|---|
pascal@18961 | 1 # SliTaz package receipt. |
pascal@18961 | 2 |
pascal@18961 | 3 PACKAGE="ndppd" |
pascal@18961 | 4 VERSION="0.2.4" |
pascal@18961 | 5 CATEGORY="network" |
pascal@18961 | 6 SHORT_DESC="NDP Proxy Daemon" |
pascal@18961 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18961 | 8 LICENSE="GPL3" |
pascal@18961 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@18961 | 10 WEB_SITE="https://github.com/DanielAdolfsson/ndppd" |
pascal@18961 | 11 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" |
pascal@18961 | 12 CONFIG_FILES="/etc/ndppd.conf" |
pascal@18961 | 13 TAGS="ipv6" |
pascal@18961 | 14 |
pascal@18961 | 15 DEPENDS="gcc-lib-base" |
pascal@18961 | 16 |
pascal@18961 | 17 # Rules to configure and make the package. |
pascal@18961 | 18 compile_rules() |
pascal@18961 | 19 { |
pascal@18961 | 20 sed -i 's|/usr/local|/usr|' Makefile |
pascal@18961 | 21 make all && |
pascal@18961 | 22 make DESTDIR=$DESTDIR install |
pascal@18961 | 23 } |
pascal@18961 | 24 |
pascal@18961 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18961 | 26 genpkg_rules() |
pascal@18961 | 27 { |
pascal@18961 | 28 mkdir -p $fs/etc $fs/usr |
pascal@18961 | 29 touch $fs/etc/ndppd.conf |
pascal@18961 | 30 cp -a $install/usr/sbin $fs/usr |
pascal@18961 | 31 } |