wok-6.x annotate libqwt6-qt4/receipt @ rev 18942

Up transmission (2.90, again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 02 18:01:10 2016 +0100 (2016-03-02)
parents 377bff3381a0
children 370da83187ab
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"
pascal@14996 8 LICENSE="LGPL2.1"
pankso@13014 9 SOURCE="qwt"
pankso@13014 10 TARBALL="$SOURCE-$VERSION.tar.bz2"
pankso@13014 11 WEB_SITE="http://qwt.sourceforge.net"
pankso@13014 12 WGET_URL="http://switch.dl.sourceforge.net/sourceforge/qwt/$TARBALL"
pankso@13014 13
pankso@13014 14 DEPENDS="libQtCore libQtGui libQtScript libQtXml libQtDesigner gcc-lib-base"
pankso@13014 15 BUILD_DEPENDS="qmake Qt4-dev"
pankso@13014 16
pankso@13014 17 # Rules to configure and make the package.
pankso@13014 18 compile_rules()
pankso@13014 19 {
pankso@13014 20 cd $src
pankso@13014 21 sed -i \
pankso@13014 22 -e 's/$${QWT_INSTALL_PREFIX}\/include/\/usr\/include\/qwt\//' \
pankso@13014 23 -e 's/$${QWT_INSTALL_PREFIX}\/lib/\/usr\/lib\//' \
pankso@13014 24 -e 's/$${QWT_INSTALL_PREFIX}\/plugins\/designer/\/usr\/lib\/qt\/plugins\/designer\//' \
pankso@13014 25 -e 's/$${QWT_INSTALL_PREFIX}\/features/\/usr\/share\/qwt\/features\//' \
pankso@13014 26 qwtconfig.pri
pankso@13014 27 qmake &&
pankso@13014 28 make -j1 &&
pankso@13014 29 make INSTALL_ROOT=$DESTDIR install
pankso@13014 30 }
pankso@13014 31
pankso@13014 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@13014 33 genpkg_rules()
pankso@13014 34 {
pankso@13014 35 mkdir -p $fs/usr/share
pankso@13014 36 cp -a $install/usr/lib $fs/usr
pankso@13014 37 cp -a $install/usr/share/qwt $fs/usr/share
pankso@13014 38 }