wok-6.x view libqwt6-qt4/receipt @ rev 13087

Remove php-dbase & php-mhash
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 25 18:44:53 2012 +0200 (2012-06-25)
parents
children 76b72f1ad63c
line source
1 # SliTaz package receipt.
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 SOURCE="qwt"
9 TARBALL="$SOURCE-$VERSION.tar.bz2"
10 WEB_SITE="http://qwt.sourceforge.net"
11 WGET_URL="http://switch.dl.sourceforge.net/sourceforge/qwt/$TARBALL"
13 DEPENDS="libQtCore libQtGui libQtScript libQtXml libQtDesigner gcc-lib-base"
14 BUILD_DEPENDS="qmake Qt4-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
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 mkdir -p $fs/usr/share
35 cp -a $install/usr/lib $fs/usr
36 cp -a $install/usr/share/qwt $fs/usr/share
37 }