# SliTaz package receipt. PACKAGE="radvd" VERSION="2.19" CATEGORY="network" TAGS="ipv6" SHORT_DESC="IPv6 Router Advertisement Daemon." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" WEB_SITE="https://radvd.litech.org/" TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="${WEB_SITE}dist/$TARBALL" BUILD_DEPENDS="flex" CONFIG_FILES="/etc/radvd.conf" # What is the latest version available today? current_version() { wget -O - https://github.com/radvd-project/radvd/releases 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ $CONFIGURE_ARGS && make && make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/etc touch $fs/etc/radvd.conf cook_copy_folders sbin }