wok-current view jdk7-jaxp/receipt @ rev 24445
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 14 14:14:23 2022 +0000 (2022-02-14) |
parents | 3e4d8dd8e394 |
children | 65ff25c4de90 |
line source
1 # SliTaz package receipt.
3 PACKAGE="jdk7-jaxp"
4 VERSION="2.5.1"
5 CATEGORY="meta"
6 SHORT_DESC="A component of Sun's JDK 7 we use to cook icedtea7 (empty package)"
7 MAINTAINER="yuripourre@gmail.com"
8 LICENSE="GPL2"
9 SOURCE="jaxp"
10 WEB_SITE="http://icedtea.classpath.org"
11 TARBALL="$SOURCE.tar.bz2"
12 WGET_URL="http://icedtea.wildebeest.org/download/drops/icedtea7/$VERSION/$TARBALL"
13 COOK_OPT="!unpack !repack_src !fs"
15 BUILD_DEPENDS="wget"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
21 sed '/\[DIR/!d;s|.*href="||;s|/.*||' | sort -Vr | sed q
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 compile_rules()
26 {
27 mkdir -p $fs/usr
28 }