wok view apache-ant/receipt @ rev 25260
updated radvd (2.18 -> 2.19)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 15 07:20:59 2022 +0100 (2022-07-15) |
parents | 34da1fdf3af3 |
children | 4e2caf3cd17b |
line source
1 # SliTaz package receipt.
3 PACKAGE="apache-ant"
4 VERSION="1.10.12"
5 CATEGORY="development"
6 SHORT_DESC="A Java-based build tool."
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="Apache"
9 WEB_SITE="https://ant.apache.org/"
11 TARBALL="$PACKAGE-$VERSION-bin.tar.bz2"
12 WGET_URL="https://www.apache.org/dist/ant/binaries/$TARBALL"
14 SUGGESTED=""
15 DEPENDS="jdk"
16 #DEPENDS="java-jdk"
17 BUILD_DEPENDS=""
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
23 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\)-bin.tar.*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 # The only binaries that would built are Java binaries (not native binaries)
30 # Thus, to help with bootstrapping, use the binary ant release
32 mkdir -p $DESTDIR/usr/bin
34 cp -f $src/bin/*.pl $DESTDIR/usr/bin
35 cp -f $src/bin/*.py $DESTDIR/usr/bin
36 cp -f $src/bin/ant $DESTDIR/usr/bin
37 cp -f $src/bin/antRun $DESTDIR/usr/bin
39 cp -a $src/etc $DESTDIR
41 mkdir -p $DESTDIR/usr/lib
43 cp -f $src/lib/*.jar $DESTDIR/usr/lib
44 cp -f $src/lib/*.pom $DESTDIR/usr/lib
45 }
47 # Rules to gen a SliTaz package suitable for Tazpkg.
48 genpkg_rules()
49 {
50 mkdir -p $fs
52 cp -a $install/usr $fs
53 cp -a $install/etc $fs
54 }