wok-next diff libqwt6-qt4/receipt @ rev 20866

mono: fix build by not enabling Spectre mitigation
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Jul 01 23:19:43 2018 +0300 (2018-07-01)
parents 76b72f1ad63c
children df20b2110f7e
line diff
     1.1 --- a/libqwt6-qt4/receipt	Sat Aug 10 11:00:21 2013 +0000
     1.2 +++ b/libqwt6-qt4/receipt	Sun Jul 01 23:19:43 2018 +0300
     1.3 @@ -1,4 +1,4 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="libqwt6-qt4"
     1.8  VERSION="6.0.1"
     1.9 @@ -11,13 +11,12 @@
    1.10  WEB_SITE="http://qwt.sourceforge.net"
    1.11  WGET_URL="http://switch.dl.sourceforge.net/sourceforge/qwt/$TARBALL"
    1.12  
    1.13 -DEPENDS="libQtCore libQtGui libQtScript libQtXml libQtDesigner gcc-lib-base"
    1.14  BUILD_DEPENDS="qmake Qt4-dev"
    1.15 +SPLIT="libqwt6-qt4-dev"
    1.16  
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19  {
    1.20 -	cd $src
    1.21  	sed -i \
    1.22  		-e 's/$${QWT_INSTALL_PREFIX}\/include/\/usr\/include\/qwt\//' \
    1.23  		-e 's/$${QWT_INSTALL_PREFIX}\/lib/\/usr\/lib\//' \
    1.24 @@ -32,7 +31,17 @@
    1.25  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.26  genpkg_rules()
    1.27  {
    1.28 -	mkdir -p $fs/usr/share
    1.29 -	cp -a $install/usr/lib $fs/usr
    1.30 -	cp -a $install/usr/share/qwt $fs/usr/share
    1.31 +	case $PACKAGE in
    1.32 +	libqwt6-qt4)
    1.33 +		DEPENDS="libQtCore libQtGui libQtScript libQtXml libQtDesigner gcc-lib-base"
    1.34 +		mkdir -p $fs/usr/share
    1.35 +		cp -a $install/usr/lib $fs/usr
    1.36 +		cp -a $install/usr/share/qwt $fs/usr/share
    1.37 +		;;
    1.38 +	libqwt6-qt4-dev)
    1.39 +		DEPENDS="qt-x11-opensource-src libqwt6-qt4"
    1.40 +		mkdir -p $fs/usr
    1.41 +		cp -a $install/usr/include $fs/usr
    1.42 +		;;
    1.43 +	esac
    1.44  }