wok-6.x annotate radvd/receipt @ rev 25260
updated radvd (2.18 -> 2.19)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 15 07:20:59 2022 +0100 (2022-07-15) |
parents | 2a0479881723 |
children |
rev | line source |
---|---|
pascal@18962 | 1 # SliTaz package receipt. |
pascal@18962 | 2 |
pascal@18962 | 3 PACKAGE="radvd" |
Hans-G?nter@25260 | 4 VERSION="2.19" |
pascal@18962 | 5 CATEGORY="network" |
Hans-G?nter@21827 | 6 TAGS="ipv6" |
Hans-G?nter@21827 | 7 SHORT_DESC="IPv6 Router Advertisement Daemon." |
pascal@18962 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18962 | 9 LICENSE="BSD" |
Hans-G?nter@25260 | 10 WEB_SITE="https://radvd.litech.org/" |
Hans-G?nter@21827 | 11 |
pascal@18962 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@18962 | 13 WGET_URL="${WEB_SITE}dist/$TARBALL" |
pascal@18962 | 14 |
pascal@18962 | 15 BUILD_DEPENDS="flex" |
pascal@18962 | 16 |
Hans-G?nter@21827 | 17 CONFIG_FILES="/etc/radvd.conf" |
Hans-G?nter@21827 | 18 |
pascal@24436 | 19 # What is the latest version available today? |
pascal@24436 | 20 current_version() |
pascal@24436 | 21 { |
pascal@24436 | 22 wget -O - https://github.com/radvd-project/radvd/releases 2>/dev/null | \ |
pascal@24436 | 23 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24436 | 24 } |
pascal@24436 | 25 |
pascal@18962 | 26 # Rules to configure and make the package. |
pascal@18962 | 27 compile_rules() |
pascal@18962 | 28 { |
Hans-G?nter@21827 | 29 ./configure \ |
Hans-G?nter@21827 | 30 --prefix=/usr \ |
Hans-G?nter@21827 | 31 --sysconfdir=/etc \ |
Hans-G?nter@21827 | 32 --mandir=/usr/share/man \ |
pascal@18962 | 33 $CONFIGURE_ARGS && |
pascal@18962 | 34 make && |
Hans-G?nter@25260 | 35 make install DESTDIR=$DESTDIR |
pascal@18962 | 36 } |
pascal@18962 | 37 |
pascal@18962 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18962 | 39 genpkg_rules() |
pascal@18962 | 40 { |
Hans-G?nter@21827 | 41 mkdir -p $fs/etc |
Hans-G?nter@21827 | 42 |
pascal@18962 | 43 touch $fs/etc/radvd.conf |
Hans-G?nter@25260 | 44 cook_copy_folders sbin |
pascal@18962 | 45 } |