wok annotate radvd/receipt @ rev 19509
syslinux: create /etc/slitaz-version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 21 09:32:06 2016 +0100 (2016-11-21) |
parents | |
children | 3a2ef541e2a9 |
rev | line source |
---|---|
pascal@18962 | 1 # SliTaz package receipt. |
pascal@18962 | 2 |
pascal@18962 | 3 PACKAGE="radvd" |
pascal@18962 | 4 VERSION="2.12" |
pascal@18962 | 5 CATEGORY="network" |
pascal@18962 | 6 SHORT_DESC="IPv6 Router Advertisement Daemon" |
pascal@18962 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18962 | 8 LICENSE="BSD" |
pascal@18962 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@18962 | 10 WEB_SITE="http://www.litech.org/radvd/" |
pascal@18962 | 11 WGET_URL="${WEB_SITE}dist/$TARBALL" |
pascal@18962 | 12 CONFIG_FILES="/etc/radvd.conf" |
pascal@18962 | 13 TAGS="ipv6" |
pascal@18962 | 14 |
pascal@18962 | 15 BUILD_DEPENDS="flex" |
pascal@18962 | 16 |
pascal@18962 | 17 # Rules to configure and make the package. |
pascal@18962 | 18 compile_rules() |
pascal@18962 | 19 { |
pascal@18962 | 20 ./configure --prefix=/usr \ |
pascal@18962 | 21 --sysconfdir=/etc \ |
pascal@18962 | 22 --mandir=/usr/share/man \ |
pascal@18962 | 23 $CONFIGURE_ARGS && |
pascal@18962 | 24 make && |
pascal@18962 | 25 make DESTDIR=$DESTDIR install |
pascal@18962 | 26 } |
pascal@18962 | 27 |
pascal@18962 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18962 | 29 genpkg_rules() |
pascal@18962 | 30 { |
pascal@18962 | 31 mkdir -p $fs/usr $fs/etc |
pascal@18962 | 32 touch $fs/etc/radvd.conf |
pascal@18962 | 33 cp -a $install/usr/sbin $fs/usr |
pascal@18962 | 34 } |
pascal@18962 | 35 |