wok-6.x rev 3803
Add: icedtea6 (1.5)
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Tue Aug 04 16:34:27 2009 +0000 (2009-08-04) |
parents | 3b8e805bd396 |
children | 8f6f06772026 |
files | icedtea6-jdk/receipt icedtea6-jre/receipt java-jdk/receipt java-jre/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/icedtea6-jdk/receipt Tue Aug 04 16:34:27 2009 +0000 1.3 @@ -0,0 +1,90 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="icedtea6-jdk" 1.7 +SOURCE="icedtea6" 1.8 +VERSION="1.5" 1.9 +CATEGORY="development" 1.10 +SHORT_DESC="A Free Software harness for OpenJDK." 1.11 +MAINTAINER="rcx@zoominternet.net" 1.12 +DEPENDS="icedtea6-jre glibc-base zlib xorg-libX11 xorg-libXau xorg-libXdmcp" 1.13 +BUILD_DEPENDS="gcc+gcj slitaz-toolchain autoconf automake m4 \ 1.14 +coreutils-file-special coreutils-file-summarize alsa-lib-dev cups-dev \ 1.15 +gawk file patch findutils perl zip unzip bzip2 tar cpio glib-dev zlib-dev \ 1.16 +fastjar rhino ecj apache-ant xerces-xalan-j \ 1.17 +freetype-dev gtk+-dev giflib-dev jpeg-dev libpng-dev \ 1.18 +xorg-inputproto xorg-kbproto xorg-libXi-dev xorg-libXinerama-dev \ 1.19 +xorg-libXp-dev xorg-libXt-dev xorg-libXtst-dev xorg-printproto \ 1.20 +xorg-recordproto xorg-renderproto xorg-xextproto xorg-xineramaproto xorg-xproto" 1.21 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.22 +WEB_SITE="http://www.iced-tea.org/" 1.23 +WGET_URL="http://icedtea.classpath.org/download/source/$TARBALL" 1.24 + 1.25 +# Rules to configure and make the package. 1.26 +compile_rules() 1.27 +{ 1.28 + local JVM_PREFIX 1.29 + JVM_PREFIX=/usr/lib/jvm/java-icedtea 1.30 + 1.31 + # NOTE: This build does not seem to work with ECJ 3.5 1.32 + 1.33 + cd $src 1.34 + autoreconf && 1.35 + ./configure \ 1.36 + --prefix=/usr \ 1.37 + --disable-plugin \ 1.38 + --disable-docs \ 1.39 + --with-ecj \ 1.40 + --with-ecj-jar=/usr/share/java/ecj-3.4.2.jar \ 1.41 + --with-gcj \ 1.42 + --with-gcj-home=/usr/lib/jvm/java-gcj \ 1.43 + --with-xalan2-jar=/usr/share/java/xalan.jar \ 1.44 + --with-xalan2-serializer-jar=/usr/share/java/serializer.jar \ 1.45 + --with-xerces2-jar=/usr/share/java/xercesImpl.jar \ 1.46 + --with-rhino=/usr/share/java/js.jar \ 1.47 + --with-abs-install-dir=$JVM_PREFIX \ 1.48 + $CONFIGURE_ARGS && 1.49 + make ARCH_PREFIX= || exit 1 1.50 + 1.51 + # NOTE: IcedTea6 does not define an "install" target 1.52 + 1.53 + rm -r -f $src/_pkg 1.54 + 1.55 + local JVM_BUILDDIR 1.56 + JVM_BUILDDIR=$src/openjdk/build/linux-i586/j2sdk-image 1.57 + local JVM_DESTDIR 1.58 + JVM_DESTDIR=$src/_pkg$JVM_PREFIX 1.59 + 1.60 + mkdir -p $JVM_DESTDIR 1.61 + cp -a $JVM_BUILDDIR/bin $JVM_DESTDIR 1.62 + cp -a $JVM_BUILDDIR/lib $JVM_DESTDIR 1.63 + 1.64 + mkdir -p $JVM_DESTDIR/jre 1.65 + cp -a $JVM_BUILDDIR/jre/bin $JVM_DESTDIR/jre 1.66 + cp -a $JVM_BUILDDIR/jre/lib $JVM_DESTDIR/jre 1.67 + 1.68 + # Delete duplicated executables from the JDK bin 1.69 + for jbin in $(ls -1 $JVM_DESTDIR/jre/bin) ; do 1.70 + rm -f $JVM_DESTDIR/bin/$jbin 1.71 + done 1.72 + 1.73 + # Create symlinks for JDK binaries 1.74 + mkdir -p $src/_pkg/usr/jdk-bin 1.75 + for jbin in $(ls -1 $JVM_DESTDIR/bin) ; do 1.76 + ln -s $JVM_PREFIX/bin/$jbin $src/_pkg/usr/jdk-bin/$jbin 1.77 + done 1.78 + 1.79 + # Create symlinks for JRE binaries 1.80 + mkdir -p $src/_pkg/usr/jre-bin 1.81 + for jbin in $(ls -1 $JVM_DESTDIR/jre/bin) ; do 1.82 + ln -s $JVM_PREFIX/jre/bin/$jbin $JVM_DESTDIR/bin/$jbin 1.83 + ln -s $JVM_PREFIX/jre/bin/$jbin $src/_pkg/usr/jre-bin 1.84 + done 1.85 +} 1.86 + 1.87 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.88 +genpkg_rules() 1.89 +{ 1.90 + mkdir -p $fs/usr/lib/jvm/java-icedtea 1.91 + cp -a $_pkg/usr/lib/jvm/java-icedtea/bin $fs/usr/lib/jvm/java-icedtea 1.92 + cp -a $_pkg/usr/lib/jvm/java-icedtea/lib $fs/usr/lib/jvm/java-icedtea 1.93 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/icedtea6-jre/receipt Tue Aug 04 16:34:27 2009 +0000 2.3 @@ -0,0 +1,24 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="icedtea6-jre" 2.7 +VERSION="1.5" 2.8 +CATEGORY="development" 2.9 +SHORT_DESC="A Free Software harness for OpenJDK JRE." 2.10 +MAINTAINER="rcx@zoominternet.net" 2.11 +DEPENDS="glibc-base gcc-lib-base libuuid alsa-lib freetype giflib jpeg libpng zlib \ 2.12 +xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext \ 2.13 +xorg-libXi xorg-libXrender xorg-libXtst" 2.14 +BUILD_DEPENDS="" 2.15 +WEB_SITE="http://www.iced-tea.org/" 2.16 +WANTED="icedtea6-jdk" 2.17 +SOURCE="icedtea6" 2.18 + 2.19 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.20 +genpkg_rules() 2.21 +{ 2.22 + # tazwok does not define _pkg correctly when both WANTED and SOURCE are set 2.23 + _pkg=$WOK/$WANTED/$SOURCE-$VERSION/_pkg 2.24 + 2.25 + mkdir -p $fs/usr/lib/jvm/java-icedtea 2.26 + cp -a $_pkg/usr/lib/jvm/java-icedtea/jre $fs/usr/lib/jvm/java-icedtea 2.27 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/java-jdk/receipt Tue Aug 04 16:34:27 2009 +0000 3.3 @@ -0,0 +1,22 @@ 3.4 +# SliTaz package receipt. 3.5 + 3.6 +PACKAGE="java-jdk" 3.7 +VERSION="1.5" 3.8 +CATEGORY="development" 3.9 +SHORT_DESC="Symlinks for the default Java Development Kit (icedtea6)." 3.10 +MAINTAINER="rcx@zoominternet.net" 3.11 +DEPENDS="icedtea6-jdk" 3.12 +BUILD_DEPENDS="" 3.13 +WEB_SITE="http://www.iced-tea.org/" 3.14 +WANTED="icedtea6-jdk" 3.15 +SOURCE="icedtea6" 3.16 + 3.17 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.18 +genpkg_rules() 3.19 +{ 3.20 + # tazwok does not define _pkg correctly when both WANTED and SOURCE are set 3.21 + _pkg=$WOK/$WANTED/$SOURCE-$VERSION/_pkg 3.22 + 3.23 + mkdir -p $fs/usr/bin 3.24 + cp -a $_pkg/usr/jdk-bin/* $fs/usr/bin 3.25 +}
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/java-jre/receipt Tue Aug 04 16:34:27 2009 +0000 4.3 @@ -0,0 +1,22 @@ 4.4 +# SliTaz package receipt. 4.5 + 4.6 +PACKAGE="java-jre" 4.7 +VERSION="1.5" 4.8 +CATEGORY="development" 4.9 +SHORT_DESC="Symlinks for the default Java Runtime Environment (icedtea6)." 4.10 +MAINTAINER="rcx@zoominternet.net" 4.11 +DEPENDS="icedtea6-jre" 4.12 +BUILD_DEPENDS="" 4.13 +WEB_SITE="http://www.iced-tea.org/" 4.14 +WANTED="icedtea6-jdk" 4.15 +SOURCE="icedtea6" 4.16 + 4.17 +# Rules to gen a SliTaz package suitable for Tazpkg. 4.18 +genpkg_rules() 4.19 +{ 4.20 + # tazwok does not define _pkg correctly when both WANTED and SOURCE are set 4.21 + _pkg=$WOK/$WANTED/$SOURCE-$VERSION/_pkg 4.22 + 4.23 + mkdir -p $fs/usr/bin 4.24 + cp -a $_pkg/usr/jre-bin/* $fs/usr/bin 4.25 +}