wok-6.x view icedtea6-jre/receipt @ rev 20299
Up hp15c (4.0.00)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 03 15:14:01 2018 +0200 (2018-05-03) |
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 }