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

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 7b8e000b629f
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="apache-ant"
4 VERSION="1.10.8"
5 CATEGORY="development"
6 SHORT_DESC="A Java-based build tool"
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="Apache"
9 WEB_SITE="http://ant.apache.org/"
11 TARBALL="$PACKAGE-$VERSION-bin.tar.bz2"
12 WGET_URL="http://www.apache.org/dist/ant/binaries/$TARBALL"
14 HOST_ARCH="any"
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 mkdir -p $install/usr/bin
21 mkdir -p $install/usr/lib
23 cp bin/*.pl $install/usr/bin
24 cp bin/*.py $install/usr/bin
25 cp bin/ant $install/usr/bin
26 cp bin/antRun $install/usr/bin
28 cp -a $src/etc $install
30 cp lib/*.jar $install/usr/lib
31 cp lib/*.pom $install/usr/lib
32 }
34 genpkg_rules()
35 {
36 cp -a $install/usr $fs
37 cp -a $install/etc $fs
39 DEPENDS="jdk"
40 #DEPENDS="java-jdk"
41 }