wok-6.x annotate radvd/receipt @ rev 25219
updated python-pip (20.0.2 -> 20.3.4)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 15:45:09 2022 +0100 (2022-07-13) |
parents | 3a2ef541e2a9 |
children | 3d33ae0fa811 |
rev | line source |
---|---|
pascal@18962 | 1 # SliTaz package receipt. |
pascal@18962 | 2 |
pascal@18962 | 3 PACKAGE="radvd" |
Hans-G?nter@21827 | 4 VERSION="2.18" |
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@21827 | 10 WEB_SITE="http://www.litech.org/radvd/" |
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 && |
pascal@18962 | 35 make DESTDIR=$DESTDIR install |
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/usr |
Hans-G?nter@21827 | 42 mkdir -p $fs/etc |
Hans-G?nter@21827 | 43 |
pascal@18962 | 44 touch $fs/etc/radvd.conf |
pascal@18962 | 45 cp -a $install/usr/sbin $fs/usr |
pascal@18962 | 46 } |