wok view qcad/receipt @ rev 25307
updated siproxd (0.8.2 -> 0.8.3)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 20 10:52:20 2022 +0100 (2022-07-20) |
parents | d7522d21c4d3 |
children | e685e7c4c950 |
line source
1 # SliTaz package receipt.
3 PACKAGE="qcad"
4 VERSION="3.7.5"
5 CATEGORY="network"
6 SHORT_DESC="The Open Source CAD System For Everyone."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="${PACKAGE}-${VERSION}-linux-x86_32.tar.gz"
10 WEB_SITE="http://www.qcad.org"
11 WGET_URL="https://download.tuxfamily.org/slitaz/sources/packages-cooking/${TARBALL:0:1}/$TARBALL"
12 HOST_ARCH="i486"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - https://github.com/qcad/qcad/tags 2>/dev/null | \
18 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 mkdir -p \
25 ${install}/usr/bin \
26 ${install}/usr/lib/${PACKAGE} \
27 ${install}/usr/share/pixmaps
28 cp -a ${src}/* ${install}/usr/lib/${PACKAGE}
29 # /usr/bin/qcad + pixmap
30 install -m 0755 ${stuff}/qcad ${install}/usr/bin/qcad
31 ln -s ../../lib/qcad/qcad_icon.png \
32 ${install}/usr/share/pixmaps/${PACKAGE}.png
33 # We use our packed deps
34 echo "Cleaning installed files..."
35 cd ${install}/usr/lib/${PACKAGE}
36 rm qcad
37 rm -rf examples/
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p ${fs} && cp -a ${install}/* ${fs}
44 }