wok-next annotate apache-ant/receipt @ rev 21040

mariadb 10.3.10 (again)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 09 09:48:29 2018 +0200 (2018-11-09)
parents f48456621a9d
children 7b8e000b629f
rev   line source
al@21017 1 # SliTaz package receipt v2.
rcx@3783 2
rcx@3783 3 PACKAGE="apache-ant"
yuripourre@16970 4 VERSION="1.9.4"
rcx@3783 5 CATEGORY="development"
al@21017 6 SHORT_DESC="A Java-based build tool"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15361 8 LICENSE="Apache"
al@21017 9 WEB_SITE="http://ant.apache.org/"
al@21017 10
rcx@3783 11 TARBALL="$PACKAGE-$VERSION-bin.tar.bz2"
rcx@3783 12 WGET_URL="http://www.apache.org/dist/ant/binaries/$TARBALL"
rcx@3783 13
al@21017 14 compile_rules() {
rcx@3783 15 # The only binaries that would built are Java binaries (not native binaries)
rcx@3783 16 # Thus, to help with bootstrapping, use the binary ant release
al@21020 17 mkdir -p $install/usr/bin
al@21020 18 cp bin/*.pl bin/*.py bin/ant bin/antRun $install/usr/bin
rcx@3783 19
al@21020 20 cp -a $src/etc $install
al@21017 21
al@21020 22 mkdir -p $install/usr/lib
al@21020 23 cp lib/*.jar lib/*.pom $install/usr/lib
rcx@3783 24 }
rcx@3783 25
al@21017 26 genpkg_rules() {
rcx@3783 27 mkdir -p $fs
pascal@15361 28 cp -a $install/usr $fs
pascal@15361 29 cp -a $install/etc $fs
al@21017 30 DEPENDS="jdk"
al@21017 31 #DEPENDS="java-jdk"
rcx@3783 32 }