wok-6.x view leocad-pieces/receipt @ rev 24817
created recipes for libnsl and libnsl-dev
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 23 07:31:51 2022 +0100 (2022-03-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 }