wok-6.x view icedtea6-jre/receipt @ rev 20748

created package cpige 1.5
author Hans-G?nter Theisgen
date Mon Feb 11 15:42:12 2019 +0100 (2019-02-11)
parents b63f49cad2a3
children fff755dd0f58
line source
1 # SliTaz package receipt.
3 PACKAGE="icedtea6-jre"
4 VERSION="1.9.9"
5 CATEGORY="development"
6 SHORT_DESC="A Free Software harness for OpenJDK JRE."
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.iced-tea.org/"
10 WANTED="icedtea6-jdk"
11 SOURCE="icedtea6"
13 DEPENDS="glibc-base gcc-lib-base util-linux-uuid alsa-lib freetype giflib libjpeg libpng zlib \
14 xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext \
15 xorg-libXi xorg-libXrender xorg-libXtst"
16 BUILD_DEPENDS=""
18 # Rules to gen a SliTaz package suitable for Tazpkg.
19 genpkg_rules()
20 {
21 mkdir -p $fs/usr/lib/jvm/java-icedtea
22 cp -a $install/usr/lib/jvm/java-icedtea/jre $fs/usr/lib/jvm/java-icedtea
23 }
25 # Post install/remove commands for Tazpkg.
26 post_install()
27 {
28 ln -sf /usr/lib/jvm/java-icedtea/bin/java "$1/usr/bin/java"
29 }
31 post_remove()
32 {
33 rm -f "$1/usr/bin/java"
34 }