wok-4.x annotate libqwt5-qt4/receipt @ rev 8775
Fix libqwt5-qt4 build-deps
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Feb 21 19:48:39 2011 +0100 (2011-02-21) |
parents | b04abd30b007 |
children | 02cc6d6760e4 |
rev | line source |
---|---|
slitaz@3277 | 1 # SliTaz package receipt. |
slitaz@3277 | 2 |
slitaz@3277 | 3 PACKAGE="libqwt5-qt4" |
slitaz@3277 | 4 VERSION="5.2.0" |
slitaz@3277 | 5 CATEGORY="graphics" |
slitaz@3277 | 6 SHORT_DESC="Lib Qt Widgets for Technical applications" |
slitaz@3277 | 7 MAINTAINER="slitaz@objectif-securite.ch" |
gokhlayeh@8775 | 8 DEPENDS="libQtCore libQtGui libQtScript libQtXml libQtDesigner gcc-lib-base \ |
gokhlayeh@8775 | 9 qmake" |
pascal@6109 | 10 BUILD_DEPENDS="$DEPENDS qt4" |
pankso@3492 | 11 SOURCE="qwt" |
pankso@3492 | 12 TARBALL="$SOURCE-$VERSION.tar.bz2" |
slitaz@3277 | 13 WEB_SITE="http://qwt.sourceforge.net" |
slitaz@3277 | 14 WGET_URL="http://switch.dl.sourceforge.net/sourceforge/qwt/$TARBALL" |
slitaz@3277 | 15 |
slitaz@3277 | 16 # Rules to configure and make the package. |
slitaz@3277 | 17 compile_rules() |
slitaz@3277 | 18 { |
pankso@3492 | 19 cd $src |
slitaz@3277 | 20 qmake |
slitaz@3277 | 21 make && |
pankso@3492 | 22 make INSTALL_ROOT=$PWD/_pkg install |
slitaz@3277 | 23 } |
slitaz@3277 | 24 |
slitaz@3277 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
slitaz@3277 | 26 genpkg_rules() |
slitaz@3277 | 27 { |
slitaz@3277 | 28 mkdir -p $fs/usr/lib |
pankso@3492 | 29 cp -a $_pkg/usr/lib/qt $fs/usr/lib |
pankso@3492 | 30 cp -a $_pkg/usr/local/qwt-$VERSION/lib/libqwt.so* $fs/usr/lib |
slitaz@3277 | 31 } |