wok-6.x view fastjar/receipt @ rev 11585
gecko-mediaplayer: hack compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 08 17:32:11 2012 +0100 (2012-01-08) |
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 }