wok annotate libqwt6-qt4/receipt @ rev 14278

merge
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 06 15:17:50 2013 +0200 (2013-04-06)
parents
children 76b72f1ad63c
rev   line source
pankso@13014 1 # SliTaz package receipt.
pankso@13014 2
pankso@13014 3 PACKAGE="libqwt6-qt4"
pankso@13014 4 VERSION="6.0.1"
pankso@13014 5 CATEGORY="graphics"
pankso@13014 6 SHORT_DESC="Lib Qt Widgets for Technical applications"
pankso@13014 7 MAINTAINER="slitaz@objectif-securite.ch"
pankso@13014 8 SOURCE="qwt"
pankso@13014 9 TARBALL="$SOURCE-$VERSION.tar.bz2"
pankso@13014 10 WEB_SITE="http://qwt.sourceforge.net"
pankso@13014 11 WGET_URL="http://switch.dl.sourceforge.net/sourceforge/qwt/$TARBALL"
pankso@13014 12
pankso@13014 13 DEPENDS="libQtCore libQtGui libQtScript libQtXml libQtDesigner gcc-lib-base"
pankso@13014 14 BUILD_DEPENDS="qmake Qt4-dev"
pankso@13014 15
pankso@13014 16 # Rules to configure and make the package.
pankso@13014 17 compile_rules()
pankso@13014 18 {
pankso@13014 19 cd $src
pankso@13014 20 sed -i \
pankso@13014 21 -e 's/$${QWT_INSTALL_PREFIX}\/include/\/usr\/include\/qwt\//' \
pankso@13014 22 -e 's/$${QWT_INSTALL_PREFIX}\/lib/\/usr\/lib\//' \
pankso@13014 23 -e 's/$${QWT_INSTALL_PREFIX}\/plugins\/designer/\/usr\/lib\/qt\/plugins\/designer\//' \
pankso@13014 24 -e 's/$${QWT_INSTALL_PREFIX}\/features/\/usr\/share\/qwt\/features\//' \
pankso@13014 25 qwtconfig.pri
pankso@13014 26 qmake &&
pankso@13014 27 make -j1 &&
pankso@13014 28 make INSTALL_ROOT=$DESTDIR install
pankso@13014 29 }
pankso@13014 30
pankso@13014 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@13014 32 genpkg_rules()
pankso@13014 33 {
pankso@13014 34 mkdir -p $fs/usr/share
pankso@13014 35 cp -a $install/usr/lib $fs/usr
pankso@13014 36 cp -a $install/usr/share/qwt $fs/usr/share
pankso@13014 37 }