wok-6.x view radvd/receipt @ rev 24461
updated daloradius (0.9-9 -> 1.1-2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 16 17:15:55 2022 +0100 (2022-02-16) |
parents | 3a2ef541e2a9 |
children | 3d33ae0fa811 |
line source
1 # SliTaz package receipt.
3 PACKAGE="radvd"
4 VERSION="2.18"
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="http://www.litech.org/radvd/"
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 DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr
42 mkdir -p $fs/etc
44 touch $fs/etc/radvd.conf
45 cp -a $install/usr/sbin $fs/usr
46 }