wok view apache-ant/receipt @ rev 3783

Add: apache-ant (1.7.1)
author Matthew Sheets <rcx@zoominternet.net>
date Thu Jul 30 15:18:44 2009 +0000 (2009-07-30)
parents
children f0755d9e99ed
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="jdk"
9 BUILD_DEPENDS=""
10 TARBALL="$PACKAGE-$VERSION-bin.tar.bz2"
11 WEB_SITE="http://ant.apache.org/"
12 WGET_URL="http://www.apache.org/dist/ant/binaries/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 # The only binaries that would built are Java binaries (not native binaries)
18 # Thus, to help with bootstrapping, use the binary ant release
19 cd $src
21 mkdir -p $src/_pkg/usr/bin
22 cp -f $src/bin/*.pl $src/_pkg/usr/bin
23 cp -f $src/bin/*.py $src/_pkg/usr/bin
24 cp -f $src/bin/ant $src/_pkg/usr/bin
25 cp -f $src/bin/antRun $src/_pkg/usr/bin
27 cp -a $src/etc $src/_pkg
29 mkdir -p $src/_pkg/usr/lib
30 cp -f $src/lib/*.jar $src/_pkg/usr/lib
31 cp -f $src/lib/*.pom $src/_pkg/usr/lib
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs
38 cp -a $_pkg/usr $fs
39 cp -a $_pkg/etc $fs
40 }