wok view jikes/receipt @ rev 25344
updated tahoe-lafs (1.13.0 -> 1.17.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jul 25 07:43:39 2022 +0100 (2022-07-25) |
parents | 23c3aed67cd9 |
children | 7dd01dedad38 |
line source
1 # SliTaz package receipt.
3 PACKAGE="jikes"
4 VERSION="1.22"
5 CATEGORY="development"
6 SHORT_DESC="An Open Source compiler for Java."
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="EPL"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://jikes.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="java"
14 DEPENDS="gcc-lib-base"
15 BUILD_DEPENDS="slitaz-toolchain"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/jikes/files/Jikes/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|' | sort -Vr | sed q | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;s|.*/Jikes/||;s|/.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 cd $src
29 ./configure \
30 --prefix=/usr \
31 --infodir=/usr/share/info \
32 --mandir=/usr/share/man \
33 $CONFIGURE_ARGS &&
34 make &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr
42 cp -a $install/usr/bin $fs/usr
43 }