wok-current view openjdk-7-src/receipt @ rev 24899
updated mediawiki (1.34.1 -> 1.37.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 09 09:41:00 2022 +0100 (2022-04-09) |
parents | 3705d68ed8f3 |
children | 65ff25c4de90 |
line source
1 # SliTaz package receipt.
3 PACKAGE="openjdk-7-src"
4 VERSION="b147-27_jun_2011"
5 CATEGORY="meta"
6 SHORT_DESC="OpenJDK 7 we use to cook icedtea7 (empty package)"
7 MAINTAINER="yuripourre@gmail.com"
8 LICENSE="GPL2"
9 SOURCE="openjdk-7-fcs-src"
10 TARBALL="$SOURCE-$VERSION.zip"
11 WEB_SITE="http://java.sun.com"
12 WGET_URL="http://download.java.net/openjdk/jdk7/promoted/${VERSION%-*}/$TARBALL"
13 COOK_OPT="!unpack !repack_src !fs"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - http://hg.openjdk.java.net/jdk7/jdk7/tags 2>/dev/null | \
19 sed '/jdk7-/!d;s|jdk7-||;q'
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 compile_rules()
24 {
25 find $src -name Makefile \; | xargs sed -i 's|uname -m|echo i486|'
26 mkdir -p $fs/usr
27 }