wok annotate fastjar/receipt @ rev 3481
Add: fastjar, a C implementation of the JDK jar utility
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Wed Jun 17 10:17:44 2009 +0000 (2009-06-17) |
parents | |
children | 1b448f3594e4 |
rev | line source |
---|---|
rcx@3481 | 1 # SliTaz package receipt. |
rcx@3481 | 2 |
rcx@3481 | 3 PACKAGE="fastjar" |
rcx@3481 | 4 VERSION="0.94" |
rcx@3481 | 5 CATEGORY="development" |
rcx@3481 | 6 SHORT_DESC="A fast C implementation of the JDK jar utility." |
rcx@3481 | 7 MAINTAINER="rcx@zoominternet.net" |
rcx@3481 | 8 DEPENDS="glibc-base zlib" |
rcx@3481 | 9 BUILD_DEPENDS="slitaz-toolchain zlib-dev" |
rcx@3481 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
rcx@3481 | 11 WEB_SITE="http://sourceforge.net/projects/fastjar/" |
rcx@3481 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
rcx@3481 | 13 |
rcx@3481 | 14 # Rules to configure and make the package. |
rcx@3481 | 15 compile_rules() |
rcx@3481 | 16 { |
rcx@3481 | 17 cd $src |
rcx@3481 | 18 ./configure \ |
rcx@3481 | 19 --prefix=/usr \ |
rcx@3481 | 20 $CONFIGURE_ARGS && |
rcx@3481 | 21 make && |
rcx@3481 | 22 make DESTDIR=$src/_pkg install |
rcx@3481 | 23 } |
rcx@3481 | 24 |
rcx@3481 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3481 | 26 genpkg_rules() |
rcx@3481 | 27 { |
rcx@3481 | 28 mkdir -p $fs/usr |
rcx@3481 | 29 cp -a $_pkg/usr/bin $fs/usr |
rcx@3481 | 30 } |
rcx@3481 | 31 |