wok view qcad/receipt @ rev 21146

updated git (2.17.1 -> 2.21.0)
author Hans-G?nter Theisgen
date Thu Mar 28 16:06:18 2019 +0100 (2019-03-28)
parents 9e01bc6321ea
children d7522d21c4d3
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="http://www.qcad.org/archives/qcad/${TARBALL}"
12 HOST_ARCH="i486"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 mkdir -p \
18 ${install}/usr/bin \
19 ${install}/usr/lib/${PACKAGE} \
20 ${install}/usr/share/pixmaps
21 cp -a ${src}/* ${install}/usr/lib/${PACKAGE}
22 # /usr/bin/qcad + pixmap
23 install -m 0755 ${stuff}/qcad ${install}/usr/bin/qcad
24 ln -s ../../lib/qcad/qcad_icon.png \
25 ${install}/usr/share/pixmaps/${PACKAGE}.png
26 # We use our packed deps
27 echo "Cleaning installed files..."
28 cd ${install}/usr/lib/${PACKAGE}
29 rm qcad
30 rm -rf examples/
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p ${fs} && cp -a ${install}/* ${fs}
37 }