wok-6.x view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="fastjar"
4 VERSION="0.98"
5 CATEGORY="development"
6 SHORT_DESC="A fast C implementation of the JDK jar utility."
7 MAINTAINER="rcx@zoominternet.net"
8 DEPENDS="glibc-base zlib"
9 BUILD_DEPENDS="slitaz-toolchain zlib-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://savannah.nongnu.org/projects/fastjar/"
12 WGET_URL="http://download.savannah.gnu.org/releases-noredirect/fastjar/$TARBALL"
13 TAGS="java"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$src/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/usr/bin $fs/usr
31 }