# SliTaz package receipt.

PACKAGE="chkrootkit"
VERSION="0.49"
CATEGORY="system-tools"
SHORT_DESC="Locally checks for signs of a rootkit."
MAINTAINER="pascal.bellard@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.chkrootkit.org/"
WGET_URL="ftp://ftp.pangeia.com.br/pub/seg/pac/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	[ -f done.chkrootkit.u ] || patch -p1 < $stuff/chkrootkit.u
	touch done.chkrootkit.u
	make sense
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr/share/chkrootkit
	for i in $(cd $src ; ls); do
		case "$i" in
		README*) cp $src/$i $fs/usr/share/chkrootkit;;
		Makefile|*.*);;
		*) cp $src/$i $fs/usr/share/chkrootkit;;
		esac
	done
}