wok annotate icedtea6-jre/receipt @ rev 18289
knock: set default interface
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 14 10:06:48 2015 +0200 (2015-08-14) |
parents | f4c22f009037 |
children | b63f49cad2a3 |
rev | line source |
---|---|
rcx@3803 | 1 # SliTaz package receipt. |
rcx@3803 | 2 |
rcx@3803 | 3 PACKAGE="icedtea6-jre" |
slaxemulator@9235 | 4 VERSION="1.9.7" |
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 { |
yuripourre@16966 | 28 ln -sf /usr/lib/jvm/java-icedtea/bin/java /usr/bin/java |
yuripourre@16966 | 29 } |
yuripourre@16966 | 30 |
yuripourre@16966 | 31 post_remove() |
yuripourre@16966 | 32 { |
yuripourre@16966 | 33 rm -f $1/usr/bin/java |
yuripourre@16966 | 34 } |