wok annotate java-jre/receipt @ rev 5012
rm rpm in for loop to save RAM (thanks Eric)
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Sun Feb 28 19:50:05 2010 +0000 (2010-02-28) |
parents | d4be90e180f7 |
children | 9b3a716845ad |
rev | line source |
---|---|
rcx@3803 | 1 # SliTaz package receipt. |
rcx@3803 | 2 |
rcx@3803 | 3 PACKAGE="java-jre" |
rcx@4155 | 4 VERSION="1.6.1" |
rcx@3803 | 5 CATEGORY="development" |
rcx@3803 | 6 SHORT_DESC="Symlinks for the default Java Runtime Environment (icedtea6)." |
rcx@3803 | 7 MAINTAINER="rcx@zoominternet.net" |
rcx@3803 | 8 DEPENDS="icedtea6-jre" |
rcx@3803 | 9 BUILD_DEPENDS="" |
rcx@3803 | 10 WEB_SITE="http://www.iced-tea.org/" |
rcx@3803 | 11 WANTED="icedtea6-jdk" |
rcx@3803 | 12 SOURCE="icedtea6" |
rcx@3803 | 13 |
rcx@3803 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3803 | 15 genpkg_rules() |
rcx@3803 | 16 { |
rcx@3803 | 17 # tazwok does not define _pkg correctly when both WANTED and SOURCE are set |
rcx@3803 | 18 _pkg=$WOK/$WANTED/$SOURCE-$VERSION/_pkg |
rcx@3803 | 19 |
rcx@4353 | 20 mkdir -p $fs/usr/bin |
rcx@3803 | 21 cp -a $_pkg/usr/jre-bin/* $fs/usr/bin |
rcx@3803 | 22 } |