wok-current view ndppd/receipt @ rev 24110
rdesktop: add debian patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 28 10:48:56 2021 +0000 (2021-09-28) |
parents | f261fa1783f9 |
children | ac8ca9758df1 |
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*}/releases 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 }