wok annotate jdk7-langtools/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago)
parents af8d823a3077
children
rev   line source
yuripourre@16968 1 # SliTaz package receipt.
yuripourre@16968 2
yuripourre@16968 3 PACKAGE="jdk7-langtools"
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="langtools"
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 {
pascal@20212 27 sed -i 's|uname -m|echo i486|' test/Makefile
yuripourre@16968 28 mkdir -p $fs/usr
yuripourre@16968 29 }