wok view 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 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xlogo"
4 VERSION="0.9.959"
5 CATEGORY="games"
6 SHORT_DESC="A logo interpreter written in java."
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="GPL"
9 TARBALL="xlogo.jar"
10 WEB_SITE="https://gitlab.freedesktop.org/xorg/app/xlogo"
12 DEPENDS="java-jre"
13 BUILD_DEPENDS=""
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - $WEB_SITE/-/tags?sort=updated_desc 2>/dev/null | \
19 sed '/tags\/xlogo-/!d;s|.*xlogo-||;s|<.*||;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 wget_url="http://downloads.tuxfamily.org/xlogo/common/xlogo.jar"
26 [ -f $SOURCES_REPOSITORY/xlogo.jar ] ||
27 wget $wget_url -P $SOURCES_REPOSITORY
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib/xlogo
34 cp $SOURCES_REPOSITORY/xlogo.jar $fs/usr/lib/xlogo
35 }