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