wok-6.x annotate fastjar/receipt @ rev 9717
slitaz-toolchain: Let create a new toolchain in one command for cookutils
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 09 01:35:10 2011 +0200 (2011-05-09) |
parents | fb8aceda65ff |
children | 380ffe05937a |
rev | line source |
---|---|
rcx@3481 | 1 # SliTaz package receipt. |
rcx@3481 | 2 |
rcx@3481 | 3 PACKAGE="fastjar" |
rcx@5999 | 4 VERSION="0.98" |
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@3770 | 11 WEB_SITE="http://savannah.nongnu.org/projects/fastjar/" |
rcx@3769 | 12 WGET_URL="http://download.savannah.gnu.org/releases-noredirect/fastjar/$TARBALL" |
jozee@4936 | 13 TAGS="java" |
rcx@3481 | 14 |
rcx@3481 | 15 # Rules to configure and make the package. |
rcx@3481 | 16 compile_rules() |
rcx@3481 | 17 { |
rcx@3481 | 18 cd $src |
rcx@3481 | 19 ./configure \ |
rcx@3481 | 20 --prefix=/usr \ |
rcx@3481 | 21 $CONFIGURE_ARGS && |
rcx@3481 | 22 make && |
rcx@3481 | 23 make DESTDIR=$src/_pkg install |
rcx@3481 | 24 } |
rcx@3481 | 25 |
rcx@3481 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3481 | 27 genpkg_rules() |
rcx@3481 | 28 { |
rcx@3481 | 29 mkdir -p $fs/usr |
rcx@3481 | 30 cp -a $_pkg/usr/bin $fs/usr |
rcx@3481 | 31 } |
rcx@3481 | 32 |