wok-next view apache-ant/receipt @ rev 4944

improve mplayer-svn DEPENDS
author Rohit Joshi <jozee@slitaz.org>
date Tue Feb 16 16:04:25 2010 +0000 (2010-02-16)
parents f0755d9e99ed
children 5fa932573324
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 #DEPENDS="java-jdk"
10 BUILD_DEPENDS=""
11 SUGGESTED=""
12 TARBALL="$PACKAGE-$VERSION-bin.tar.bz2"
13 WEB_SITE="http://ant.apache.org/"
14 WGET_URL="http://www.apache.org/dist/ant/binaries/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 # The only binaries that would built are Java binaries (not native binaries)
20 # Thus, to help with bootstrapping, use the binary ant release
21 cd $src
23 mkdir -p $src/_pkg/usr/bin
24 cp -f $src/bin/*.pl $src/_pkg/usr/bin
25 cp -f $src/bin/*.py $src/_pkg/usr/bin
26 cp -f $src/bin/ant $src/_pkg/usr/bin
27 cp -f $src/bin/antRun $src/_pkg/usr/bin
29 cp -a $src/etc $src/_pkg
31 mkdir -p $src/_pkg/usr/lib
32 cp -f $src/lib/*.jar $src/_pkg/usr/lib
33 cp -f $src/lib/*.pom $src/_pkg/usr/lib
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs
40 cp -a $_pkg/usr $fs
41 cp -a $_pkg/etc $fs
42 }