# SliTaz package receipt.

PACKAGE="jfsutils"
VERSION="1.1.14"
CATEGORY="system-tools"
SHORT_DESC="Utilities for manipulating jfs file-system."
MAINTAINER="pascal.bellard@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://jfs.sourceforge.net/"
WGET_URL="${WEB_SITE}project/pub/$TARBALL"
DEPENDS="util-linux-ng-uuid"
BUILD_DEPENDS="e2fsprogs-dev"
TAGS="filesystem"

# 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/sbin $fs/usr
}