# SliTaz package receipt. PACKAGE="rkhunter" VERSION="1.4.6" CATEGORY="security" SHORT_DESC="Rootkit scanner." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" WEB_SITE="https://rkhunter.sourceforge.net/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL" DEPENDS="" BUILD_DEPENDS="" # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/rkhunter/files/rkhunter/ 2>/dev/null | \ sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ sed '/scope="row/!d;s|.*/rkhunter/||;s|/.*||;q' } # Rules to configure and make the package. compile_rules() { export TGZ_BUILD_ROOT=$DESTDIR ./installer.sh --layout TGZ --install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/* $fs }