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