wok view jclic/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago)
parents 5ea0ce1cecc0
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 rm -rf icons
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib/jclic
34 mkdir -p $fs/usr/share/pixmaps
35 mkdir -p $fs/usr/share/applications
37 cp -a $src/* $fs/usr/lib/jclic
38 cp $stuff/jclicauthor.desktop $fs/usr/share/applications
39 cp $stuff/jclicreports.desktop $fs/usr/share/applications
40 cp $stuff/author.png $fs/usr/share/pixmaps
41 cp $stuff/reports.png $fs/usr/share/pixmaps
42 }