wok annotate leocad-pieces/receipt @ rev 25161

created recipe for py3k-pillow
author Hans-G?nter Theisgen
date Fri Jul 01 10:04:47 2022 +0100 (2022-07-01)
parents 4ce52a0b72fd
children 5db546345599
rev   line source
rcx@3709 1 # SliTaz package receipt.
rcx@3709 2
rcx@3709 3 PACKAGE="leocad-pieces"
slaxemulator@11195 4 VERSION="4806"
rcx@3709 5 CATEGORY="games"
rcx@3709 6 SHORT_DESC="Pieces library for LeoCAD."
rcx@3709 7 MAINTAINER="rcx@zoominternet.net"
pascal@15379 8 LICENSE="GPL2"
slaxemulator@9370 9 SOURCE="pieces"
slaxemulator@9370 10 TARBALL="$SOURCE-$VERSION.zip"
pascal@20669 11 WEB_SITE="https://www.leocad.org/"
pascal@24982 12 WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/leocad/$TARBALL"
rcx@3709 13
pascal@24744 14 # What is the latest version available today?
pascal@24744 15 current_version()
pascal@24744 16 {
pascal@24744 17 wget -O - https://github.com/leozide/leocad/releases 2>/dev/null | \
pascal@24744 18 sed '/Library/!d;s|.*Library[^0-9]*||;s|.zip.*||;q'
pascal@24744 19 }
pascal@24744 20
rcx@3709 21 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@3709 22 genpkg_rules()
rcx@3709 23 {
slaxemulator@11195 24 mkdir -p $fs/usr/share/leocad
slaxemulator@11195 25 cp -a $src/* $fs/usr/share/leocad
rcx@3709 26 }