wok diff qcad/receipt @ rev 24336

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 28 18:19:21 2022 +0000 (2022-01-28)
parents 9e01bc6321ea
children d7522d21c4d3
line diff
     1.1 --- a/qcad/receipt	Sun Dec 20 15:13:45 2015 +0100
     1.2 +++ b/qcad/receipt	Fri Jan 28 18:19:21 2022 +0000
     1.3 @@ -11,10 +11,6 @@
     1.4  WGET_URL="http://www.qcad.org/archives/qcad/${TARBALL}"
     1.5  HOST_ARCH="i486"
     1.6  
     1.7 -DEPENDS="libQtWebkit libQtGui libQtDesigner libQtXml libQtDeclarative \
     1.8 -libQtCore libQtScript libQtNetwork libQtClucene libQtOpenGL libQtDBus \
     1.9 -libQtScriptTools libQtHelp libQtSvg libQtSql libQtTest libQtMultimedia"
    1.10 -
    1.11  # Rules to configure and make the package.
    1.12  compile_rules()
    1.13  {
    1.14 @@ -30,11 +26,7 @@
    1.15  	# We use our packed deps
    1.16  	echo "Cleaning installed files..."
    1.17  	cd ${install}/usr/lib/${PACKAGE}
    1.18 -	rm qcad \
    1.19 -		libQtWebKit.* libQtGui.* libQtDesigner* libQtXml* \
    1.20 -		libQtDeclarative.* libQtCore.* libQtScript.* libQtNetwork.* \
    1.21 -		libQtCLucene.* libQtOpenGL.* libQtDBus.* libQtScriptTools.* \
    1.22 -		libQtHelp.* libQtSvg.* libQtSql.* libQtTest.* libQtMultimedia.*
    1.23 +	rm qcad 
    1.24  	rm -rf examples/
    1.25  }
    1.26  
    1.27 @@ -42,16 +34,4 @@
    1.28  genpkg_rules()
    1.29  {
    1.30  	mkdir -p ${fs} && cp -a ${install}/* ${fs}
    1.31 -
    1.32 -	# exclude from files.list (for tazpkg-find-depends)
    1.33 -	# not removed: exactly this version required ($fs/usr/lib/qcad/libfreetype.readme)
    1.34 -        cd $fs/usr/lib/qcad
    1.35 -	mv -f libfreetype.so.6 lib-freetype-.-so-.-6
    1.36  }
    1.37 -
    1.38 -post_install()
    1.39 -{
    1.40 -        cd "$1/usr/lib/qcad"
    1.41 -	mv -f lib-freetype-.-so-.-6 libfreetype.so.6
    1.42 -}
    1.43 -