wok-next rev 20164
icedtea6-jdk: receipt v2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 01 17:54:23 2017 +0100 (2017-11-01) |
parents | 4bedcbdcbef2 |
children | 0159f236d2ed |
files | icedtea6-jdk/receipt icedtea6-jre/receipt java-jdk/receipt java-jre/receipt lyx/receipt lz4/receipt |
line diff
1.1 --- a/icedtea6-jdk/receipt Wed Nov 01 17:42:43 2017 +0100 1.2 +++ b/icedtea6-jdk/receipt Wed Nov 01 17:54:23 2017 +0100 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="icedtea6-jdk" 1.8 SOURCE="icedtea6" 1.9 @@ -11,13 +11,13 @@ 1.10 WEB_SITE="http://www.iced-tea.org/" 1.11 WGET_URL="http://icedtea.wildebeest.org/download/source/$TARBALL" 1.12 1.13 -DEPENDS="icedtea6-jre xorg xorg-libXtst xorg-libXp cups" 1.14 BUILD_DEPENDS="gcc+gcj autoconf automake m4 diffutils gawk cups-dev wget cpio \ 1.15 coreutils-file-special coreutils-file-summarize alsa-lib-dev file patch perl \ 1.16 zip unzip findutils bzip2 tar glib-dev fastjar rhino ecj apache-ant jpeg-dev \ 1.17 xalan-xerces-j gtk+-dev giflib-dev libpng-dev xorg-dev xorg-libXtst-dev \ 1.18 xorg-libXp-dev xorg-dev-proto nss nss-dev jdk6-jaxws jdk6-jaxp jdk6-jaf \ 1.19 openjdk-6-src" 1.20 +SPLIT="icedtea6-jdk icedtea6-jre java-jdk java-jre" 1.21 1.22 # Note to icedtea6 updaters, 1.23 # You should check version into receipts: 1.24 @@ -153,7 +153,45 @@ 1.25 # Rules to gen a SliTaz package suitable for Tazpkg. 1.26 genpkg_rules() 1.27 { 1.28 - mkdir -p $fs/usr/lib/jvm/java-icedtea 1.29 - cp -a $install/usr/lib/jvm/java-icedtea/bin $fs/usr/lib/jvm/java-icedtea 1.30 - cp -a $install/usr/lib/jvm/java-icedtea/lib $fs/usr/lib/jvm/java-icedtea 1.31 + case $PACKAGE in 1.32 + icedtea6-jdk) 1.33 + DEPENDS="icedtea6-jre xorg xorg-libXtst xorg-libXp cups" 1.34 + mkdir -p $fs/usr/lib/jvm/java-icedtea 1.35 + cp -a $install/usr/lib/jvm/java-icedtea/bin $fs/usr/lib/jvm/java-icedtea 1.36 + cp -a $install/usr/lib/jvm/java-icedtea/lib $fs/usr/lib/jvm/java-icedtea 1.37 + ;; 1.38 + icedtea6-jre) 1.39 + CAT="development|A Free Software harness for OpenJDK JRE." 1.40 + DEPENDS="glibc-base gcc-lib-base util-linux-uuid alsa-lib \ 1.41 + freetype giflib libjpeg libpng zlib xorg-libICE \ 1.42 + xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp \ 1.43 + xorg-libXext xorg-libXi xorg-libXrender xorg-libXtst" 1.44 + mkdir -p $fs/usr/lib/jvm/java-icedtea 1.45 + cp -a $install/usr/lib/jvm/java-icedtea/jre $fs/usr/lib/jvm/java-icedtea 1.46 + ;; 1.47 + java-jdk) 1.48 + CAT="development|Symlinks for the default Java Development Kit (icedtea6)." 1.49 + TAGS="java" 1.50 + DEPENDS="icedtea6-jdk" 1.51 + mkdir -p $fs/usr 1.52 + cp -a $install/usr/jdk-bin $fs/usr/bin 1.53 + ;; 1.54 + java-jre) 1.55 + CAT="development|Symlinks for the default Java Runtime Environment (icedtea6)." 1.56 + DEPENDS="icedtea6-jre" 1.57 + mkdir -p $fs/usr 1.58 + cp -a $install/usr/jre-bin $fs/usr/bin 1.59 + ;; 1.60 + esac 1.61 } 1.62 + 1.63 +# Post install/remove commands for Tazpkg. 1.64 +post_install_icedtea6_jre() 1.65 +{ 1.66 + ln -sf /usr/lib/jvm/java-icedtea/bin/java "$1/usr/bin/java" 1.67 +} 1.68 + 1.69 +post_remove_icedtea6_jre() 1.70 +{ 1.71 + rm -f "$1/usr/bin/java" 1.72 +}
2.1 --- a/icedtea6-jre/receipt Wed Nov 01 17:42:43 2017 +0100 2.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 2.3 @@ -1,34 +0,0 @@ 2.4 -# SliTaz package receipt. 2.5 - 2.6 -PACKAGE="icedtea6-jre" 2.7 -VERSION="1.9.9" 2.8 -CATEGORY="development" 2.9 -SHORT_DESC="A Free Software harness for OpenJDK JRE." 2.10 -MAINTAINER="rcx@zoominternet.net" 2.11 -LICENSE="GPL2" 2.12 -WEB_SITE="http://www.iced-tea.org/" 2.13 -WANTED="icedtea6-jdk" 2.14 -SOURCE="icedtea6" 2.15 - 2.16 -DEPENDS="glibc-base gcc-lib-base util-linux-uuid alsa-lib freetype giflib libjpeg libpng zlib \ 2.17 -xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext \ 2.18 -xorg-libXi xorg-libXrender xorg-libXtst" 2.19 -BUILD_DEPENDS="" 2.20 - 2.21 -# Rules to gen a SliTaz package suitable for Tazpkg. 2.22 -genpkg_rules() 2.23 -{ 2.24 - mkdir -p $fs/usr/lib/jvm/java-icedtea 2.25 - cp -a $install/usr/lib/jvm/java-icedtea/jre $fs/usr/lib/jvm/java-icedtea 2.26 -} 2.27 - 2.28 -# Post install/remove commands for Tazpkg. 2.29 -post_install() 2.30 -{ 2.31 - ln -sf /usr/lib/jvm/java-icedtea/bin/java "$1/usr/bin/java" 2.32 -} 2.33 - 2.34 -post_remove() 2.35 -{ 2.36 - rm -f "$1/usr/bin/java" 2.37 -}
3.1 --- a/java-jdk/receipt Wed Nov 01 17:42:43 2017 +0100 3.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 3.3 @@ -1,21 +0,0 @@ 3.4 -# SliTaz package receipt. 3.5 - 3.6 -PACKAGE="java-jdk" 3.7 -VERSION="1.9.9" 3.8 -CATEGORY="development" 3.9 -SHORT_DESC="Symlinks for the default Java Development Kit (icedtea6)." 3.10 -MAINTAINER="rcx@zoominternet.net" 3.11 -LICENSE="GPL2" 3.12 -WEB_SITE="http://www.iced-tea.org/" 3.13 -WANTED="icedtea6-jdk" 3.14 -SOURCE="icedtea6" 3.15 -TAGS="java" 3.16 - 3.17 -DEPENDS="icedtea6-jdk" 3.18 - 3.19 -# Rules to gen a SliTaz package suitable for Tazpkg. 3.20 -genpkg_rules() 3.21 -{ 3.22 - mkdir -p $fs/usr 3.23 - cp -a $install/usr/jdk-bin $fs/usr/bin 3.24 -}
4.1 --- a/java-jre/receipt Wed Nov 01 17:42:43 2017 +0100 4.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 4.3 @@ -1,20 +0,0 @@ 4.4 -# SliTaz package receipt. 4.5 - 4.6 -PACKAGE="java-jre" 4.7 -VERSION="1.9.9" 4.8 -CATEGORY="development" 4.9 -SHORT_DESC="Symlinks for the default Java Runtime Environment (icedtea6)." 4.10 -MAINTAINER="rcx@zoominternet.net" 4.11 -LICENSE="GPL2" 4.12 -WEB_SITE="http://www.iced-tea.org/" 4.13 -WANTED="icedtea6-jdk" 4.14 -SOURCE="icedtea6" 4.15 - 4.16 -DEPENDS="icedtea6-jre" 4.17 - 4.18 -# Rules to gen a SliTaz package suitable for Tazpkg. 4.19 -genpkg_rules() 4.20 -{ 4.21 - mkdir -p $fs/usr 4.22 - cp -a $install/usr/jre-bin $fs/usr/bin 4.23 -}