wok-current annotate leocad-pieces/receipt @ rev 24906
updated minidlna (1.2.1 -> 1.3.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 09 14:37:52 2022 +0100 (2022-04-09) |
parents | a78610b2eb47 |
children | 0f92b8cc8086 |
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/" |
rcx@6006 | 12 WGET_URL="http://leocad.googlecode.com/files/$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 } |