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