wok annotate jclic/receipt @ rev 25795

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