wok-current annotate qcad/receipt @ rev 17448
Add Qcad 2D CAD application
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Dec 14 10:13:18 2014 +0100 (2014-12-14) |
parents | |
children | a97709a29fd3 |
rev | line source |
---|---|
pankso@17448 | 1 # SliTaz package receipt. |
pankso@17448 | 2 |
pankso@17448 | 3 PACKAGE="qcad" |
pankso@17448 | 4 VERSION="3.7.5" |
pankso@17448 | 5 CATEGORY="network" |
pankso@17448 | 6 SHORT_DESC="The Open Source CAD System For Everyone." |
pankso@17448 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@17448 | 8 LICENSE="GPL3" |
pankso@17448 | 9 TARBALL="${PACKAGE}-${VERSION}-linux-x86_32.tar.gz" |
pankso@17448 | 10 WEB_SITE="http://www.qcad.org" |
pankso@17448 | 11 WGET_URL="http://www.qcad.org/archives/qcad/${TARBALL}" |
pankso@17448 | 12 HOST_ARCH="i486" |
pankso@17448 | 13 |
pankso@17448 | 14 DEPENDS="libQtWebkit libQtGui libQtDesigner libQtXml libQtDeclarative \ |
pankso@17448 | 15 libQtCore libQtScript libQtNetwork libQtClucene libQtOpenGL libQtDBus \ |
pankso@17448 | 16 libQtScriptTools libQtHelp libQtSvg libQtSql libQtTest libQtMultimedia" |
pankso@17448 | 17 |
pankso@17448 | 18 # Rules to configure and make the package. |
pankso@17448 | 19 compile_rules() |
pankso@17448 | 20 { |
pankso@17448 | 21 mkdir -p \ |
pankso@17448 | 22 ${install}/usr/bin \ |
pankso@17448 | 23 ${install}/usr/lib/${PACKAGE} \ |
pankso@17448 | 24 ${install}/usr/share/pixmaps |
pankso@17448 | 25 cp -a ${src}/* ${install}/usr/lib/${PACKAGE} |
pankso@17448 | 26 # /usr/bin/qcad + pixmap |
pankso@17448 | 27 install -m 0755 ${stuff}/qcad ${install}/usr/bin/qcad |
pankso@17448 | 28 ln -s ../../lib/qcad/qcad_icon.png \ |
pankso@17448 | 29 ${install}/usr/share/pixmaps/${PACKAGE}.png |
pankso@17448 | 30 # We use our packed deps |
pankso@17448 | 31 echo "Cleaning installed files..." |
pankso@17448 | 32 cd ${install}/usr/lib/${PACKAGE} |
pankso@17448 | 33 rm qcad \ |
pankso@17448 | 34 libQtWebKit.* libQtGui.* libQtDesigner* libQtXml* \ |
pankso@17448 | 35 libQtDeclarative.* libQtCore.* libQtScript.* libQtNetwork.* \ |
pankso@17448 | 36 libQtCLucene.* libQtOpenGL.* libQtDBus.* libQtScriptTools.* \ |
pankso@17448 | 37 libQtHelp.* libQtSvg.* libQtSql.* libQtTest.* libQtMultimedia.* |
pankso@17448 | 38 rm -rf examples/ |
pankso@17448 | 39 } |
pankso@17448 | 40 |
pankso@17448 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@17448 | 42 genpkg_rules() |
pankso@17448 | 43 { |
pankso@17448 | 44 mkdir -p ${fs} && cp -a ${install}/* ${fs} |
pankso@17448 | 45 } |