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

Up perl-net-pcap (0.21), qtermwidget (0.5.1), youtube-dl-gui (0.3.8)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 05 14:08:34 2024 +0000 (3 months ago)
parents d7522d21c4d3
children
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"
pascal@25465 11 WEB_SITE="https://java.sun.com"
pascal@25465 12 WGET_URL="https://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 }