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

Up cookutils (1094)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Nov 26 12:14:47 2018 +0200 (2018-11-26)
parents f48456621a9d
children 7b8e000b629f
line source
1 # SliTaz package receipt v2.
3 PACKAGE="apache-ant"
4 VERSION="1.9.4"
5 CATEGORY="development"
6 SHORT_DESC="A Java-based build tool"
7 MAINTAINER="devel@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 compile_rules() {
15 # The only binaries that would built are Java binaries (not native binaries)
16 # Thus, to help with bootstrapping, use the binary ant release
17 mkdir -p $install/usr/bin
18 cp bin/*.pl bin/*.py bin/ant bin/antRun $install/usr/bin
20 cp -a $src/etc $install
22 mkdir -p $install/usr/lib
23 cp lib/*.jar lib/*.pom $install/usr/lib
24 }
26 genpkg_rules() {
27 mkdir -p $fs
28 cp -a $install/usr $fs
29 cp -a $install/etc $fs
30 DEPENDS="jdk"
31 #DEPENDS="java-jdk"
32 }