wok diff qcad/receipt @ rev 17914

Add fontforge and its depends (libspiro, libuninameslist).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Apr 09 03:26:48 2015 +0300 (2015-04-09)
parents
children a97709a29fd3
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/qcad/receipt	Thu Apr 09 03:26:48 2015 +0300
     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 +}