wok annotate radvd/receipt @ rev 23156
Up nwipe (0.28) again
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 15 17:43:47 2020 +0100 (2020-03-15) |
parents | e930c84adc30 |
children | 2a0479881723 |
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@18962 | 19 # Rules to configure and make the package. |
pascal@18962 | 20 compile_rules() |
pascal@18962 | 21 { |
Hans-G?nter@21827 | 22 ./configure \ |
Hans-G?nter@21827 | 23 --prefix=/usr \ |
Hans-G?nter@21827 | 24 --sysconfdir=/etc \ |
Hans-G?nter@21827 | 25 --mandir=/usr/share/man \ |
pascal@18962 | 26 $CONFIGURE_ARGS && |
pascal@18962 | 27 make && |
pascal@18962 | 28 make DESTDIR=$DESTDIR install |
pascal@18962 | 29 } |
pascal@18962 | 30 |
pascal@18962 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18962 | 32 genpkg_rules() |
pascal@18962 | 33 { |
Hans-G?nter@21827 | 34 mkdir -p $fs/usr |
Hans-G?nter@21827 | 35 mkdir -p $fs/etc |
Hans-G?nter@21827 | 36 |
pascal@18962 | 37 touch $fs/etc/radvd.conf |
pascal@18962 | 38 cp -a $install/usr/sbin $fs/usr |
pascal@18962 | 39 } |