wok-current view radvd/receipt @ rev 25701
Fix dep for libglamoregl.so (libepoxy), and miss file for amdgpu (thanks alanyih)
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Apr 19 12:48:51 2024 +0000 (7 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 }