wok-6.x view java-jdk/receipt @ rev 4317

Codeblocks: hack for new glib
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 29 10:37:40 2009 +0200 (2009-09-29)
parents 0963d7e179f2
children 2dbf6030135a
line source
1 # SliTaz package receipt.
3 PACKAGE="java-jdk"
4 VERSION="1.6.1"
5 CATEGORY="development"
6 SHORT_DESC="Symlinks for the default Java Development Kit (icedtea6)."
7 MAINTAINER="rcx@zoominternet.net"
8 DEPENDS="icedtea6-jdk"
9 BUILD_DEPENDS=""
10 WEB_SITE="http://www.iced-tea.org/"
11 WANTED="icedtea6-jdk"
12 SOURCE="icedtea6"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 # tazwok does not define _pkg correctly when both WANTED and SOURCE are set
18 _pkg=$WOK/$WANTED/$SOURCE-$VERSION/_pkg
20 mkdir -p $fs/usr/bin $fs/usr/lib/jvm/java-icedtea/jre/lib/i386/jli
21 cp -a $_pkg/usr/lib/jvm/java-icedtea/jre/lib/i386/jli/libjli.so \
22 $fs/usr/lib/jvm/java-icedtea/jre/lib/i386/jli
23 cp -a $_pkg/usr/jdk-bin/* $fs/usr/bin
24 for i in $_pkg/usr/jdk-bin/* ; do
25 while [ -L $i ]; do
26 target=$(readlink $i)
27 mkdir -p $fs$(dirname $target)
28 cp -a $_pkg$target $fs$target
29 i=$_pkg$target
30 done
31 done
32 }