# SliTaz package receipt.

PACKAGE="fastjar"
VERSION="0.98"
CATEGORY="development"
SHORT_DESC="A fast C implementation of the JDK jar utility."
MAINTAINER="rcx@zoominternet.net"
DEPENDS="glibc-base zlib"
BUILD_DEPENDS="slitaz-toolchain zlib-dev"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://savannah.nongnu.org/projects/fastjar/"
WGET_URL="http://download.savannah.gnu.org/releases-noredirect/fastjar/$TARBALL"
TAGS="java"

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

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