ports/opt (3.1): jdk: updated to 1.7.0_72 (added unpack_source to handle .gz file)
commit f7570ef40f097ad35e80915593fbb38ab852d78b Author: Jose V Beneyto <sepen@crux.nu> Date: Mon Nov 10 01:25:41 2014 +0100 jdk: updated to 1.7.0_72 (added unpack_source to handle .gz file) diff --git a/jdk/.md5sum b/jdk/.md5sum index 6c6a049..ce946f5 100644 --- a/jdk/.md5sum +++ b/jdk/.md5sum @@ -1 +1 @@ -22761b214b1505f1a9671b124b0f44f4 jdk-7u71-linux-x64.tar.gz +cfa44b49e50ea06e5c6ab95ff79e5b2a jdk-7u72-linux-x64.gz diff --git a/jdk/Pkgfile b/jdk/Pkgfile index 4769152..374e790 100644 --- a/jdk/Pkgfile +++ b/jdk/Pkgfile @@ -4,9 +4,16 @@ # Packager: Simone Rota, sip at crux dot nu name=jdk -version=1.7.0_71 +version=1.7.0_72 release=1 -source=(file:///$name-7u${version##*_}-linux-x64.tar.gz) +source=(file:///$name-7u${version##*_}-linux-x64.gz) + +unpack_source() { + LOCAL_FILENAME=$(get_filename $source) + COMMAND="bsdtar -p -o -C $SRC -xf $LOCAL_FILENAME" + echo "$COMMAND" + $COMMAND +} build(){ rm -rf $SRC/jdk*/{man/ja,jre/lib/{locale,deploy/messages_},db/lib/derbyLocale*}*
participants (1)
-
crux@crux.nu