wok annotate xlogo/receipt @ rev 25803

Up libgit2 (1.8.4), libsde-utils (0.1.0-r1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 12 15:28:00 2024 +0000 (2 days ago)
parents 661d5b83f2a3
children
rev   line source
claudinei@4070 1 # SliTaz package receipt.
claudinei@4070 2
claudinei@4070 3 PACKAGE="xlogo"
claudinei@4070 4 VERSION="0.9.959"
claudinei@4070 5 CATEGORY="games"
claudinei@4070 6 SHORT_DESC="A logo interpreter written in java."
claudinei@4070 7 MAINTAINER="claudinei@slitaz.org"
pascal@15601 8 LICENSE="GPL"
pascal@14337 9 TARBALL="xlogo.jar"
pascal@25700 10 WEB_SITE="https://gitlab.freedesktop.org/xorg/app/xlogo"
pankso@9634 11
pascal@6407 12 DEPENDS="java-jre"
pankso@9634 13 BUILD_DEPENDS=""
claudinei@4070 14
pascal@25770 15 # What is the latest version available today?
pascal@25770 16 current_version()
pascal@25770 17 {
pascal@25770 18 wget -O - $WEB_SITE/-/tags?sort=updated_desc 2>/dev/null | \
pascal@25770 19 sed '/tags\/xlogo-/!d;s|.*xlogo-||;s|<.*||;q'
pascal@25770 20 }
pascal@25770 21
claudinei@4070 22 # Rules to configure and make the package.
claudinei@4070 23 compile_rules()
claudinei@4070 24 {
claudinei@4070 25 wget_url="http://downloads.tuxfamily.org/xlogo/common/xlogo.jar"
slaxemulator@10840 26 [ -f $SOURCES_REPOSITORY/xlogo.jar ] ||
slaxemulator@10840 27 wget $wget_url -P $SOURCES_REPOSITORY
claudinei@4070 28 }
claudinei@4070 29
claudinei@4070 30 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@4070 31 genpkg_rules()
claudinei@4070 32 {
claudinei@4070 33 mkdir -p $fs/usr/lib/xlogo
slaxemulator@10840 34 cp $SOURCES_REPOSITORY/xlogo.jar $fs/usr/lib/xlogo
claudinei@4070 35 }