wok-6.x annotate jclic/receipt @ rev 24757
pkg-config: cheat configure
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 18 06:53:58 2022 +0100 (2022-03-18) |
parents | dfcba080567b |
children |
rev | line source |
---|---|
claudinei@4063 | 1 # SliTaz package receipt. |
claudinei@4063 | 2 |
claudinei@4063 | 3 PACKAGE="jclic" |
Hans-G?nter@22968 | 4 VERSION="0.3.2.11" |
claudinei@4063 | 5 CATEGORY="games" |
Hans-G?nter@22968 | 6 TAGS="java multimedia education" |
Hans-G?nter@21080 | 7 SHORT_DESC="A platform for multimedia educational activities." |
claudinei@4063 | 8 MAINTAINER="claudinei@slitaz.org" |
pascal@15215 | 9 LICENSE="GPL2" |
Hans-G?nter@21080 | 10 WEB_SITE="https://github.com/projectestac/jclic" |
Hans-G?nter@21080 | 11 |
claudinei@4063 | 12 TARBALL="$PACKAGE-$VERSION.zip" |
Hans-G?nter@21080 | 13 WGET_URL="https://github.com/projectestac/$PACKAGE/releases/download/v$VERSION/$TARBALL" |
claudinei@4063 | 14 |
pascal@15215 | 15 DEPENDS="java-jre" |
pascal@15215 | 16 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24055 | 19 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
claudinei@4063 | 23 # Rules to configure and make the package. |
claudinei@4063 | 24 compile_rules() |
claudinei@4063 | 25 { |
claudinei@4063 | 26 rm -rf icons |
claudinei@4063 | 27 } |
claudinei@4063 | 28 |
claudinei@4063 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@4063 | 30 genpkg_rules() |
claudinei@4063 | 31 { |
Hans-G?nter@22968 | 32 mkdir -p $fs/usr/lib/jclic |
Hans-G?nter@22968 | 33 mkdir -p $fs/usr/share/pixmaps |
Hans-G?nter@22968 | 34 mkdir -p $fs/usr/share/applications |
Hans-G?nter@22968 | 35 |
Hans-G?nter@21080 | 36 cp -a $src/* $fs/usr/lib/jclic |
Hans-G?nter@21080 | 37 cp $stuff/jclicauthor.desktop $fs/usr/share/applications |
Hans-G?nter@21080 | 38 cp $stuff/jclicreports.desktop $fs/usr/share/applications |
Hans-G?nter@21080 | 39 cp $stuff/author.png $fs/usr/share/pixmaps |
Hans-G?nter@21080 | 40 cp $stuff/reports.png $fs/usr/share/pixmaps |
claudinei@4063 | 41 } |