wok-next view qcad/receipt @ rev 21253
updated duplicity (0.6.20 -> 0.8.07)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 06 09:07:53 2019 +0100 (2019-12-06) |
parents | d5aab818505e |
children | 01f583d1131d |
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="devel@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://www.qcad.org/en/"
11 TARBALL="$PACKAGE-$VERSION-linux-x86_32.tar.gz"
12 WGET_URL="http://www.qcad.org/archives/qcad/$TARBALL"
15 compile_rules() {
16 mkdir -p \
17 $install/usr/bin \
18 $install/usr/lib/$PACKAGE \
19 $install/usr/share/pixmaps
20 cp -a $src/* $install/usr/lib/$PACKAGE
21 # /usr/bin/qcad + pixmap
22 install -m 0755 $stuff/qcad $install/usr/bin/qcad
23 ln -s ../../lib/qcad/qcad_icon.png \
24 $install/usr/share/pixmaps/$PACKAGE.png
25 # We use our packed deps
26 echo "Cleaning installed files..."
27 cd $install/usr/lib/$PACKAGE
28 rm qcad \
29 libQtWebKit.* libQtGui.* libQtDesigner* libQtXml* \
30 libQtDeclarative.* libQtCore.* libQtScript.* libQtNetwork.* \
31 libQtCLucene.* libQtOpenGL.* libQtDBus.* libQtScriptTools.* \
32 libQtHelp.* libQtSvg.* libQtSql.* libQtTest.* libQtMultimedia.*
33 rm -rf examples/
34 }
36 genpkg_rules() {
37 mkdir -p $fs
38 cp -a $install/* $fs
40 # exclude from files.list (for tazpkg-find-depends)
41 # not removed: exactly this version required ($fs/usr/lib/qcad/libfreetype.readme)
42 cd $fs/usr/lib/qcad
43 mv -f libfreetype.so.6 lib-freetype-.-so-.-6
44 DEPENDS="libQtWebkit libQtGui libQtDesigner libQtXml libQtDeclarative \
45 libQtCore libQtScript libQtNetwork libQtClucene libQtOpenGL libQtDBus \
46 libQtScriptTools libQtHelp libQtSvg libQtSql libQtTest libQtMultimedia"
47 }
49 post_install() {
50 cd "$1/usr/lib/qcad"
51 mv -f lib-freetype-.-so-.-6 libfreetype.so.6
52 }