wok view 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 |
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="https://java.sun.com"
12 WGET_URL="https://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 }