wok view apache-ant/receipt @ rev 3877

Downgrade: ecj (3.5 to 3.4.2) [icedtea6 compatibility]
author Matthew Sheets <rcx@zoominternet.net>
date Mon Aug 10 12:29:28 2009 +0000 (2009-08-10)
parents 59feb32d3c4f
children d7465f7f9abb
line source
1 # SliTaz package receipt.
3 PACKAGE="apache-ant"
4 VERSION="1.7.1"
5 CATEGORY="development"
6 SHORT_DESC="A Java-based build tool."
7 MAINTAINER="rcx@zoominternet.net"
8 DEPENDS="java-jdk"
9 BUILD_DEPENDS=""
10 SUGGESTED=""
11 TARBALL="$PACKAGE-$VERSION-bin.tar.bz2"
12 WEB_SITE="http://ant.apache.org/"
13 WGET_URL="http://www.apache.org/dist/ant/binaries/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 # The only binaries that would built are Java binaries (not native binaries)
19 # Thus, to help with bootstrapping, use the binary ant release
20 cd $src
22 mkdir -p $src/_pkg/usr/bin
23 cp -f $src/bin/*.pl $src/_pkg/usr/bin
24 cp -f $src/bin/*.py $src/_pkg/usr/bin
25 cp -f $src/bin/ant $src/_pkg/usr/bin
26 cp -f $src/bin/antRun $src/_pkg/usr/bin
28 cp -a $src/etc $src/_pkg
30 mkdir -p $src/_pkg/usr/lib
31 cp -f $src/lib/*.jar $src/_pkg/usr/lib
32 cp -f $src/lib/*.pom $src/_pkg/usr/lib
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs
39 cp -a $_pkg/usr $fs
40 cp -a $_pkg/etc $fs
41 }