# SliTaz package receipt. PACKAGE="rinetd" VERSION="0.73" CATEGORY="network" SHORT_DESC="internet ''redirection server''." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" WEB_SITE="https://github.com/samhocevar/rinetd" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="$WEB_SITE/archive/refs/tags/v$VERSION.tar.gz" # What is the latest version available today? current_version() { wget -O - https://raw.githubusercontent.com/boutell/rinetd/master/CHANGES 2>/dev/null | \ sed '/^Version /!d;s|.*ersion ||;s|:.*||' | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { ./bootstrap && ./configure \ --prefix=/usr && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cook_copy_folders sbin }