# SliTaz package receipt.

PACKAGE="cdf"
VERSION="0.2"
CATEGORY="system-tools"
SHORT_DESC="Colorized df (color schemes)."
MAINTAINER="paul@slitaz.org"
DEPENDS=""
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://bmp-plugins.berlios.de/misc/cdf/cdf.html"
WGET_URL="http://download.berlios.de/bmp-plugins/$TARBALL"
TAGS="color schemes"

# Rules to configure and make the package.
compile_rules()
{
	cd $src

	# Fix typos
	sed -i 's/filesyitems/filesystems/' src/main.c

	./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
}