wok-next diff qcad/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents c4e53a39395a
children 5ffe59e2de3a
line diff
     1.1 --- a/qcad/receipt	Fri Mar 02 12:12:14 2018 +0200
     1.2 +++ b/qcad/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -3,33 +3,28 @@
     1.4  PACKAGE="qcad"
     1.5  VERSION="3.7.5"
     1.6  CATEGORY="network"
     1.7 -SHORT_DESC="The Open Source CAD System For Everyone."
     1.8 -MAINTAINER="pankso@slitaz.org"
     1.9 +SHORT_DESC="The Open Source CAD System For Everyone"
    1.10 +MAINTAINER="devel@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 x86_64"
    1.16 +WEB_SITE="http://www.qcad.org/"
    1.17  
    1.18 -DEPENDS="libQtWebkit libQtGui libQtDesigner libQtXml libQtDeclarative \
    1.19 -libQtCore libQtScript libQtNetwork libQtClucene libQtOpenGL libQtDBus \
    1.20 -libQtScriptTools libQtHelp libQtSvg libQtSql libQtTest libQtMultimedia"
    1.21 +TARBALL="$PACKAGE-$VERSION-linux-x86_32.tar.gz"
    1.22 +WGET_URL="http://www.qcad.org/archives/qcad/$TARBALL"
    1.23  
    1.24 -# Rules to configure and make the package.
    1.25 -compile_rules()
    1.26 -{
    1.27 +
    1.28 +compile_rules() {
    1.29  	mkdir -p \
    1.30 -		${install}/usr/bin \
    1.31 -		${install}/usr/lib/${PACKAGE} \
    1.32 -		${install}/usr/share/pixmaps
    1.33 -	cp -a ${src}/* ${install}/usr/lib/${PACKAGE}
    1.34 +		$install/usr/bin \
    1.35 +		$install/usr/lib/$PACKAGE \
    1.36 +		$install/usr/share/pixmaps
    1.37 +	cp -a $src/* $install/usr/lib/$PACKAGE
    1.38  	# /usr/bin/qcad + pixmap
    1.39 -	install -m 0755 ${stuff}/qcad ${install}/usr/bin/qcad
    1.40 +	install -m 0755 $stuff/qcad $install/usr/bin/qcad
    1.41  	ln -s ../../lib/qcad/qcad_icon.png \
    1.42 -		${install}/usr/share/pixmaps/${PACKAGE}.png
    1.43 +		$install/usr/share/pixmaps/$PACKAGE.png
    1.44  	# We use our packed deps
    1.45  	echo "Cleaning installed files..."
    1.46 -	cd ${install}/usr/lib/${PACKAGE}
    1.47 +	cd $install/usr/lib/$PACKAGE
    1.48  	rm qcad \
    1.49  		libQtWebKit.* libQtGui.* libQtDesigner* libQtXml* \
    1.50  		libQtDeclarative.* libQtCore.* libQtScript.* libQtNetwork.* \
    1.51 @@ -38,20 +33,20 @@
    1.52  	rm -rf examples/
    1.53  }
    1.54  
    1.55 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.56 -genpkg_rules()
    1.57 -{
    1.58 -	mkdir -p ${fs} && cp -a ${install}/* ${fs}
    1.59 +genpkg_rules() {
    1.60 +	mkdir -p $fs
    1.61 +	cp -a $install/* $fs
    1.62  
    1.63  	# exclude from files.list (for tazpkg-find-depends)
    1.64  	# not removed: exactly this version required ($fs/usr/lib/qcad/libfreetype.readme)
    1.65 -        cd $fs/usr/lib/qcad
    1.66 +	cd $fs/usr/lib/qcad
    1.67  	mv -f libfreetype.so.6 lib-freetype-.-so-.-6
    1.68 +	DEPENDS="libQtWebkit libQtGui libQtDesigner libQtXml libQtDeclarative \
    1.69 +	libQtCore libQtScript libQtNetwork libQtClucene libQtOpenGL libQtDBus \
    1.70 +	libQtScriptTools libQtHelp libQtSvg libQtSql libQtTest libQtMultimedia"
    1.71  }
    1.72  
    1.73 -post_install()
    1.74 -{
    1.75 -        cd "$1/usr/lib/qcad"
    1.76 +post_install() {
    1.77 +	cd "$1/usr/lib/qcad"
    1.78  	mv -f lib-freetype-.-so-.-6 libfreetype.so.6
    1.79  }
    1.80 -