wok-6.x view openjdk-7-src/receipt @ rev 24727

cookutils: add repo-cooking (used by tank)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 15 10:59:31 2022 +0000 (2022-03-15)
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 }