wok-6.x view leocad-pieces/receipt @ rev 24953
updated nagvis and nagvis-doc (1.9.18 -> 1.9.31)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 23 15:05:31 2022 +0100 (2022-04-23) |
parents | a78610b2eb47 |
children | 0f92b8cc8086 |
line source
1 # SliTaz package receipt.
3 PACKAGE="leocad-pieces"
4 VERSION="4806"
5 CATEGORY="games"
6 SHORT_DESC="Pieces library for LeoCAD."
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="GPL2"
9 SOURCE="pieces"
10 TARBALL="$SOURCE-$VERSION.zip"
11 WEB_SITE="https://www.leocad.org/"
12 WGET_URL="http://leocad.googlecode.com/files/$TARBALL"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - https://github.com/leozide/leocad/releases 2>/dev/null | \
18 sed '/Library/!d;s|.*Library[^0-9]*||;s|.zip.*||;q'
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/share/leocad
25 cp -a $src/* $fs/usr/share/leocad
26 }