# SliTaz package receipt. PACKAGE="jdk7-jaxp" VERSION="2.5.1" CATEGORY="meta" SHORT_DESC="A component of Sun's JDK 7 we use to cook icedtea7 (empty package)" MAINTAINER="yuripourre@gmail.com" LICENSE="GPL2" SOURCE="jaxp" WEB_SITE="https://icedtea.classpath.org" TARBALL="$SOURCE.tar.bz2" WGET_URL="https://icedtea.wildebeest.org/download/drops/icedtea7/$VERSION/$TARBALL" COOK_OPT="!unpack !repack_src !fs" BUILD_DEPENDS="wget" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ sed '/\[DIR/!d;s|.*href="||;s|/.*||' | sort -Vr | sed q } # Rules to gen a SliTaz package suitable for Tazpkg. compile_rules() { mkdir -p $fs/usr }