wok annotate rkhunter/receipt @ rev 25556

created recipes for nted and nted-lang
author Hans-G?nter Theisgen
date Sat Apr 22 14:54:15 2023 +0100 (18 months ago)
parents e919c5a2742d
children 29df00e1e19d
rev   line source
pascal@14511 1 # SliTaz package receipt.
pascal@14511 2
pascal@14511 3 PACKAGE="rkhunter"
Hans-G?nter@21842 4 VERSION="1.4.6"
pascal@14511 5 CATEGORY="security"
pascal@14511 6 SHORT_DESC="Rootkit scanner."
pascal@14511 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15593 8 LICENSE="GPL2"
pascal@25460 9 WEB_SITE="https://rkhunter.sourceforge.net/"
Hans-G?nter@21842 10
pascal@14511 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@14511 12 WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
pascal@14511 13
pascal@14511 14 DEPENDS=""
pascal@14511 15 BUILD_DEPENDS=""
pascal@14511 16
pascal@24348 17 # What is the latest version available today?
pascal@24348 18 current_version()
pascal@24348 19 {
pascal@24348 20 wget -O - https://sourceforge.net/projects/rkhunter/files/rkhunter/ 2>/dev/null | \
pascal@24348 21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24348 22 sed '/scope="row/!d;s|.*/rkhunter/||;s|/.*||;q'
pascal@24348 23 }
pascal@24348 24
pascal@14511 25 # Rules to configure and make the package.
pascal@14511 26 compile_rules()
pascal@14511 27 {
pascal@14511 28 export TGZ_BUILD_ROOT=$DESTDIR
pascal@14511 29 ./installer.sh --layout TGZ --install
pascal@14511 30 }
pascal@14511 31
pascal@14511 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14511 33 genpkg_rules()
pascal@14511 34 {
pascal@14511 35 cp -a $install/* $fs
pascal@14511 36 }