wok-next view 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 source
1 # SliTaz package receipt v2.
3 PACKAGE="libqwt6-qt4"
4 VERSION="6.0.1"
5 CATEGORY="graphics"
6 SHORT_DESC="Lib Qt Widgets for Technical applications"
7 MAINTAINER="slitaz@objectif-securite.ch"
8 LICENSE="LGPL2.1"
9 SOURCE="qwt"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://qwt.sourceforge.net"
12 WGET_URL="http://switch.dl.sourceforge.net/sourceforge/qwt/$TARBALL"
14 BUILD_DEPENDS="qmake Qt4-dev"
15 SPLIT="libqwt6-qt4-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i \
21 -e 's/$${QWT_INSTALL_PREFIX}\/include/\/usr\/include\/qwt\//' \
22 -e 's/$${QWT_INSTALL_PREFIX}\/lib/\/usr\/lib\//' \
23 -e 's/$${QWT_INSTALL_PREFIX}\/plugins\/designer/\/usr\/lib\/qt\/plugins\/designer\//' \
24 -e 's/$${QWT_INSTALL_PREFIX}\/features/\/usr\/share\/qwt\/features\//' \
25 qwtconfig.pri
26 qmake &&
27 make -j1 &&
28 make INSTALL_ROOT=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 case $PACKAGE in
35 libqwt6-qt4)
36 DEPENDS="libQtCore libQtGui libQtScript libQtXml libQtDesigner gcc-lib-base"
37 mkdir -p $fs/usr/share
38 cp -a $install/usr/lib $fs/usr
39 cp -a $install/usr/share/qwt $fs/usr/share
40 ;;
41 libqwt6-qt4-dev)
42 DEPENDS="qt-x11-opensource-src libqwt6-qt4"
43 mkdir -p $fs/usr
44 cp -a $install/usr/include $fs/usr
45 ;;
46 esac
47 }