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

Fix ownership and permissions for some files in some packages: adeskbar, ajaxterm, amsn, anacron, arora, asciiquarium, assaultcube-data, asterisk-sound-fr, asterisk-sound, attr-dev, attr, audacious, avidemux, awstats, bind-dev, binutils, blogotext, bootchart, btanks, bzip2-dev, c-client, cairo-dock.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jul 08 11:45:27 2013 +0300 (2013-07-08)
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 }