wok annotate openjdk-7-src/receipt @ rev 25041

Up fatattr (1.0.1), puzzles (20220128)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 27 17:15:46 2022 +0000 (2022-05-27)
parents 3705d68ed8f3
children 65ff25c4de90
rev   line source
yuripourre@16968 1 # SliTaz package receipt.
yuripourre@16968 2
yuripourre@16968 3 PACKAGE="openjdk-7-src"
yuripourre@16968 4 VERSION="b147-27_jun_2011"
yuripourre@16968 5 CATEGORY="meta"
yuripourre@16968 6 SHORT_DESC="OpenJDK 7 we use to cook icedtea7 (empty package)"
yuripourre@16968 7 MAINTAINER="yuripourre@gmail.com"
yuripourre@16968 8 LICENSE="GPL2"
yuripourre@16968 9 SOURCE="openjdk-7-fcs-src"
yuripourre@16968 10 TARBALL="$SOURCE-$VERSION.zip"
yuripourre@16968 11 WEB_SITE="http://java.sun.com"
yuripourre@16968 12 WGET_URL="http://download.java.net/openjdk/jdk7/promoted/${VERSION%-*}/$TARBALL"
yuripourre@16968 13 COOK_OPT="!unpack !repack_src !fs"
yuripourre@16968 14
pascal@24500 15 # What is the latest version available today?
pascal@24500 16 current_version()
pascal@24500 17 {
pascal@24500 18 wget -O - http://hg.openjdk.java.net/jdk7/jdk7/tags 2>/dev/null | \
pascal@24500 19 sed '/jdk7-/!d;s|jdk7-||;q'
pascal@24500 20 }
pascal@24500 21
yuripourre@16968 22 # Rules to gen a SliTaz package suitable for Tazpkg.
yuripourre@16968 23 compile_rules()
yuripourre@16968 24 {
pascal@20212 25 find $src -name Makefile \; | xargs sed -i 's|uname -m|echo i486|'
yuripourre@16968 26 mkdir -p $fs/usr
yuripourre@16968 27 }