wok-6.x view radvd/receipt @ rev 25506
memtest, pack: cleanup
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 09 16:28:01 2023 +0000 (22 months ago) |
parents | 2a0479881723 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="radvd"
4 VERSION="2.19"
5 CATEGORY="network"
6 TAGS="ipv6"
7 SHORT_DESC="IPv6 Router Advertisement Daemon."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="BSD"
10 WEB_SITE="https://radvd.litech.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="${WEB_SITE}dist/$TARBALL"
15 BUILD_DEPENDS="flex"
17 CONFIG_FILES="/etc/radvd.conf"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://github.com/radvd-project/radvd/releases 2>/dev/null | \
23 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --prefix=/usr \
31 --sysconfdir=/etc \
32 --mandir=/usr/share/man \
33 $CONFIGURE_ARGS &&
34 make &&
35 make install DESTDIR=$DESTDIR
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/etc
43 touch $fs/etc/radvd.conf
44 cook_copy_folders sbin
45 }