# SliTaz package receipt. PACKAGE="ndisc6" VERSION="0.9.9" CATEGORY="network" SHORT_DESC="IPv6 diagnostic tools." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://rdnssd.linkfanel.net/" WGET_URL="https://www.remlab.net/files/$PACKAGE/$TARBALL" DEPENDS="perl" CONFIG_FILES="/etc/rdnssd" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { cd $src ./configure --prefix=/usr --infodir=/usr/share/info \ --localstatedir=/var --sysconfdir=/etc \ --mandir=/usr/share/man $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $install/usr/bin $fs/usr cp -a $install/usr/sbin $fs/usr cp -a $install/var $fs cp -a $install/etc $fs }