wok view qcad/receipt @ rev 17541
Add zstd
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 26 15:15:08 2015 +0100 (2015-01-26) |
parents | |
children | a97709a29fd3 |
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 DEPENDS="libQtWebkit libQtGui libQtDesigner libQtXml libQtDeclarative \
15 libQtCore libQtScript libQtNetwork libQtClucene libQtOpenGL libQtDBus \
16 libQtScriptTools libQtHelp libQtSvg libQtSql libQtTest libQtMultimedia"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 mkdir -p \
22 ${install}/usr/bin \
23 ${install}/usr/lib/${PACKAGE} \
24 ${install}/usr/share/pixmaps
25 cp -a ${src}/* ${install}/usr/lib/${PACKAGE}
26 # /usr/bin/qcad + pixmap
27 install -m 0755 ${stuff}/qcad ${install}/usr/bin/qcad
28 ln -s ../../lib/qcad/qcad_icon.png \
29 ${install}/usr/share/pixmaps/${PACKAGE}.png
30 # We use our packed deps
31 echo "Cleaning installed files..."
32 cd ${install}/usr/lib/${PACKAGE}
33 rm qcad \
34 libQtWebKit.* libQtGui.* libQtDesigner* libQtXml* \
35 libQtDeclarative.* libQtCore.* libQtScript.* libQtNetwork.* \
36 libQtCLucene.* libQtOpenGL.* libQtDBus.* libQtScriptTools.* \
37 libQtHelp.* libQtSvg.* libQtSql.* libQtTest.* libQtMultimedia.*
38 rm -rf examples/
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p ${fs} && cp -a ${install}/* ${fs}
45 }