wok-6.x 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 1e80e3a3127f
children a8ed437fce5b
files qcad/receipt qcad/stuff/qcad qcad/stuff/qcad.desktop
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/qcad/receipt	Sun Dec 14 10:13:18 2014 +0100
     1.3 @@ -0,0 +1,45 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="qcad"
     1.7 +VERSION="3.7.5"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="The Open Source CAD System For Everyone."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +LICENSE="GPL3"
    1.12 +TARBALL="${PACKAGE}-${VERSION}-linux-x86_32.tar.gz"
    1.13 +WEB_SITE="http://www.qcad.org"
    1.14 +WGET_URL="http://www.qcad.org/archives/qcad/${TARBALL}"
    1.15 +HOST_ARCH="i486"
    1.16 +
    1.17 +DEPENDS="libQtWebkit libQtGui libQtDesigner libQtXml libQtDeclarative \
    1.18 +libQtCore libQtScript libQtNetwork libQtClucene libQtOpenGL libQtDBus \
    1.19 +libQtScriptTools libQtHelp libQtSvg libQtSql libQtTest libQtMultimedia"
    1.20 +
    1.21 +# Rules to configure and make the package.
    1.22 +compile_rules()
    1.23 +{
    1.24 +	mkdir -p \
    1.25 +		${install}/usr/bin \
    1.26 +		${install}/usr/lib/${PACKAGE} \
    1.27 +		${install}/usr/share/pixmaps
    1.28 +	cp -a ${src}/* ${install}/usr/lib/${PACKAGE}
    1.29 +	# /usr/bin/qcad + pixmap
    1.30 +	install -m 0755 ${stuff}/qcad ${install}/usr/bin/qcad
    1.31 +	ln -s ../../lib/qcad/qcad_icon.png \
    1.32 +		${install}/usr/share/pixmaps/${PACKAGE}.png
    1.33 +	# We use our packed deps
    1.34 +	echo "Cleaning installed files..."
    1.35 +	cd ${install}/usr/lib/${PACKAGE}
    1.36 +	rm qcad \
    1.37 +		libQtWebKit.* libQtGui.* libQtDesigner* libQtXml* \
    1.38 +		libQtDeclarative.* libQtCore.* libQtScript.* libQtNetwork.* \
    1.39 +		libQtCLucene.* libQtOpenGL.* libQtDBus.* libQtScriptTools.* \
    1.40 +		libQtHelp.* libQtSvg.* libQtSql.* libQtTest.* libQtMultimedia.*
    1.41 +	rm -rf examples/
    1.42 +}
    1.43 +
    1.44 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.45 +genpkg_rules()
    1.46 +{
    1.47 +	mkdir -p ${fs} && cp -a ${install}/* ${fs}
    1.48 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/qcad/stuff/qcad	Sun Dec 14 10:13:18 2014 +0100
     2.3 @@ -0,0 +1,9 @@
     2.4 +#!/bin/sh
     2.5 +#
     2.6 +# QCAD startup script for SliTaz
     2.7 +#
     2.8 +
     2.9 +data="/usr/lib/qcad"
    2.10 +binary="$data/qcad-bin"
    2.11 +
    2.12 +LD_LIBRARY_PATH="$data" "$binary" -style plastique "$@"
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/qcad/stuff/qcad.desktop	Sun Dec 14 10:13:18 2014 +0100
     3.3 @@ -0,0 +1,7 @@
     3.4 +[Desktop Entry]
     3.5 +Encoding=UTF-8
     3.6 +Name=Qcad 2D CAD
     3.7 +Exec=qcad
     3.8 +Icon=qcad
     3.9 +Type=Application
    3.10 +Categories=Graphics;