# SliTaz package receipt.

PACKAGE="scrub"
VERSION="2.4"
CATEGORY="security"
SHORT_DESC="Iteratively writes patterns on files or disk devices to make retreiving the data more difficult."
MAINTAINER="slaxemulator@gmail.com"
DEPENDS=""
BUILD_DEPENDS="perl"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://code.google.com/p/diskscrub/"
WGET_URL="http://diskscrub.googlecode.com/files/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure \
		--prefix=/usr \
		--infodir=/usr/share/info \
		--mandir=/usr/share/man \
		$CONFIGURE_ARGS &&
	make && make DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr
	cp -a $_pkg/usr/bin $fs/usr
}