# HG changeset patch # User Christophe Lincoln # Date 1418548398 -3600 # Node ID b82e1590980d7acb810f291b03b2712f30b358a6 # Parent 1e80e3a3127f2170dbbb1f1122f58548ea94aeaa Add Qcad 2D CAD application diff -r 1e80e3a3127f -r b82e1590980d qcad/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/qcad/receipt Sun Dec 14 10:13:18 2014 +0100 @@ -0,0 +1,45 @@ +# SliTaz package receipt. + +PACKAGE="qcad" +VERSION="3.7.5" +CATEGORY="network" +SHORT_DESC="The Open Source CAD System For Everyone." +MAINTAINER="pankso@slitaz.org" +LICENSE="GPL3" +TARBALL="${PACKAGE}-${VERSION}-linux-x86_32.tar.gz" +WEB_SITE="http://www.qcad.org" +WGET_URL="http://www.qcad.org/archives/qcad/${TARBALL}" +HOST_ARCH="i486" + +DEPENDS="libQtWebkit libQtGui libQtDesigner libQtXml libQtDeclarative \ +libQtCore libQtScript libQtNetwork libQtClucene libQtOpenGL libQtDBus \ +libQtScriptTools libQtHelp libQtSvg libQtSql libQtTest libQtMultimedia" + +# Rules to configure and make the package. +compile_rules() +{ + mkdir -p \ + ${install}/usr/bin \ + ${install}/usr/lib/${PACKAGE} \ + ${install}/usr/share/pixmaps + cp -a ${src}/* ${install}/usr/lib/${PACKAGE} + # /usr/bin/qcad + pixmap + install -m 0755 ${stuff}/qcad ${install}/usr/bin/qcad + ln -s ../../lib/qcad/qcad_icon.png \ + ${install}/usr/share/pixmaps/${PACKAGE}.png + # We use our packed deps + echo "Cleaning installed files..." + cd ${install}/usr/lib/${PACKAGE} + rm qcad \ + libQtWebKit.* libQtGui.* libQtDesigner* libQtXml* \ + libQtDeclarative.* libQtCore.* libQtScript.* libQtNetwork.* \ + libQtCLucene.* libQtOpenGL.* libQtDBus.* libQtScriptTools.* \ + libQtHelp.* libQtSvg.* libQtSql.* libQtTest.* libQtMultimedia.* + rm -rf examples/ +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p ${fs} && cp -a ${install}/* ${fs} +} diff -r 1e80e3a3127f -r b82e1590980d qcad/stuff/qcad --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/qcad/stuff/qcad Sun Dec 14 10:13:18 2014 +0100 @@ -0,0 +1,9 @@ +#!/bin/sh +# +# QCAD startup script for SliTaz +# + +data="/usr/lib/qcad" +binary="$data/qcad-bin" + +LD_LIBRARY_PATH="$data" "$binary" -style plastique "$@" diff -r 1e80e3a3127f -r b82e1590980d qcad/stuff/qcad.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/qcad/stuff/qcad.desktop Sun Dec 14 10:13:18 2014 +0100 @@ -0,0 +1,7 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Qcad 2D CAD +Exec=qcad +Icon=qcad +Type=Application +Categories=Graphics;