wok-next view libqwt6-qt4/receipt @ rev 20883

Check Repology info from h* to l* packages
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jul 11 02:06:34 2018 +0300 (2018-07-11)
parents 99d1d45ec006
children d5aab818505e
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 WEB_SITE="http://qwt.sourceforge.net"
10 REPOLOGY="qwt"
12 SOURCE="qwt"
13 TARBALL="$SOURCE-$VERSION.tar.bz2"
14 WGET_URL="http://switch.dl.sourceforge.net/sourceforge/qwt/$TARBALL"
16 BUILD_DEPENDS="qmake Qt4-dev"
17 SPLIT="libqwt6-qt4-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 sed -i \
23 -e 's/$${QWT_INSTALL_PREFIX}\/include/\/usr\/include\/qwt\//' \
24 -e 's/$${QWT_INSTALL_PREFIX}\/lib/\/usr\/lib\//' \
25 -e 's/$${QWT_INSTALL_PREFIX}\/plugins\/designer/\/usr\/lib\/qt\/plugins\/designer\//' \
26 -e 's/$${QWT_INSTALL_PREFIX}\/features/\/usr\/share\/qwt\/features\//' \
27 qwtconfig.pri
28 qmake &&
29 make -j1 &&
30 make INSTALL_ROOT=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 case $PACKAGE in
37 libqwt6-qt4)
38 DEPENDS="libQtCore libQtGui libQtScript libQtXml libQtDesigner gcc-lib-base"
39 mkdir -p $fs/usr/share
40 cp -a $install/usr/lib $fs/usr
41 cp -a $install/usr/share/qwt $fs/usr/share
42 ;;
43 libqwt6-qt4-dev)
44 DEPENDS="qt-x11-opensource-src libqwt6-qt4"
45 mkdir -p $fs/usr
46 cp -a $install/usr/include $fs/usr
47 ;;
48 esac
49 }