wok annotate icedtea6-jre/receipt @ rev 18897

syslinux/isohybrid.exe add -r support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 14 22:06:06 2016 +0100 (2016-02-14)
parents b63f49cad2a3
children fff755dd0f58
rev   line source
rcx@3803 1 # SliTaz package receipt.
rcx@3803 2
rcx@3803 3 PACKAGE="icedtea6-jre"
yuripourre@18355 4 VERSION="1.9.9"
rcx@3803 5 CATEGORY="development"
rcx@3803 6 SHORT_DESC="A Free Software harness for OpenJDK JRE."
rcx@3803 7 MAINTAINER="rcx@zoominternet.net"
pascal@15201 8 LICENSE="GPL2"
pascal@15000 9 WEB_SITE="http://www.iced-tea.org/"
pascal@15000 10 WANTED="icedtea6-jdk"
pascal@15000 11 SOURCE="icedtea6"
pascal@15000 12
pankso@12481 13 DEPENDS="glibc-base gcc-lib-base util-linux-uuid alsa-lib freetype giflib libjpeg libpng zlib \
rcx@3803 14 xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext \
rcx@3803 15 xorg-libXi xorg-libXrender xorg-libXtst"
rcx@3803 16 BUILD_DEPENDS=""
rcx@3803 17
rcx@3803 18 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@3803 19 genpkg_rules()
rcx@3803 20 {
rcx@3803 21 mkdir -p $fs/usr/lib/jvm/java-icedtea
pascal@15000 22 cp -a $install/usr/lib/jvm/java-icedtea/jre $fs/usr/lib/jvm/java-icedtea
rcx@3803 23 }
yuripourre@16966 24
yuripourre@16966 25 # Post install/remove commands for Tazpkg.
yuripourre@16966 26 post_install()
yuripourre@16966 27 {
pascal@18730 28 ln -sf /usr/lib/jvm/java-icedtea/bin/java "$1/usr/bin/java"
yuripourre@16966 29 }
yuripourre@16966 30
yuripourre@16966 31 post_remove()
yuripourre@16966 32 {
pascal@18730 33 rm -f "$1/usr/bin/java"
yuripourre@16966 34 }