wok-next diff qcad/receipt @ rev 21724

busybox: update configs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 11:04:25 2020 +0000 (2020-09-01)
parents 5ffe59e2de3a
children
line diff
     1.1 --- a/qcad/receipt	Sat Nov 03 17:26:00 2018 +0200
     1.2 +++ b/qcad/receipt	Tue Sep 01 11:04:25 2020 +0000
     1.3 @@ -1,10 +1,10 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="qcad"
     1.7 -VERSION="3.7.5"
     1.8 +VERSION="3.24.3.4"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="The Open Source CAD System For Everyone"
    1.11 -MAINTAINER="devel@slitaz.org"
    1.12 +MAINTAINER="maintainer@slitaz.org"
    1.13  LICENSE="GPL3"
    1.14  WEB_SITE="https://www.qcad.org/en/"
    1.15  
    1.16 @@ -12,16 +12,20 @@
    1.17  WGET_URL="http://www.qcad.org/archives/qcad/$TARBALL"
    1.18  
    1.19  
    1.20 -compile_rules() {
    1.21 +compile_rules()
    1.22 +{
    1.23  	mkdir -p \
    1.24  		$install/usr/bin \
    1.25  		$install/usr/lib/$PACKAGE \
    1.26  		$install/usr/share/pixmaps
    1.27 +
    1.28  	cp -a $src/* $install/usr/lib/$PACKAGE
    1.29 +
    1.30  	# /usr/bin/qcad + pixmap
    1.31  	install -m 0755 $stuff/qcad $install/usr/bin/qcad
    1.32  	ln -s ../../lib/qcad/qcad_icon.png \
    1.33  		$install/usr/share/pixmaps/$PACKAGE.png
    1.34 +
    1.35  	# We use our packed deps
    1.36  	echo "Cleaning installed files..."
    1.37  	cd $install/usr/lib/$PACKAGE
    1.38 @@ -33,7 +37,8 @@
    1.39  	rm -rf examples/
    1.40  }
    1.41  
    1.42 -genpkg_rules() {
    1.43 +genpkg_rules()
    1.44 +{
    1.45  	mkdir -p $fs
    1.46  	cp -a $install/* $fs
    1.47  
    1.48 @@ -46,7 +51,8 @@
    1.49  	libQtScriptTools libQtHelp libQtSvg libQtSql libQtTest libQtMultimedia"
    1.50  }
    1.51  
    1.52 -post_install() {
    1.53 +post_install()
    1.54 +{
    1.55  	cd "$1/usr/lib/qcad"
    1.56  	mv -f lib-freetype-.-so-.-6 libfreetype.so.6
    1.57  }