wok view apache-ant/receipt @ rev 14254

Add kexec-tools
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 26 11:53:15 2013 +0100 (2013-03-26)
parents d7465f7f9abb
children 191b99ca9dc2
line source
1 # SliTaz package receipt.
3 PACKAGE="apache-ant"
4 VERSION="1.8.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 }