wok-current view ndppd/receipt @ rev 24620
updated gputils (1.5.0.1 -> 1.5.2)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 07 10:52:24 2022 +0100 (2022-03-07) |
parents | 5ea0ce1cecc0 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="ndppd"
4 VERSION="0.2.5"
5 CATEGORY="network"
6 TAGS="ipv6"
7 SHORT_DESC="NDP Proxy Daemon."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL3"
10 WEB_SITE="https://github.com/DanielAdolfsson/ndppd"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
15 DEPENDS="gcc-lib-base"
16 CONFIG_FILES="/etc/ndppd.conf"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -i 's|/usr/local|/usr|' Makefile
29 make all &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/etc $fs/usr
38 touch $fs/etc/ndppd.conf
39 cp -a $install/usr/sbin $fs/usr
40 }