wok-next annotate libqwt5-qt4/receipt @ rev 16667
Add mlvpn
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 14 11:22:33 2014 +0000 (2014-05-14) |
parents | 086841d75237 |
children | 99d1d45ec006 |
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" |
pascal@14996 | 8 LICENSE="LGPL2.1" |
pankso@3492 | 9 SOURCE="qwt" |
pankso@3492 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
slitaz@3277 | 11 WEB_SITE="http://qwt.sourceforge.net" |
slitaz@3277 | 12 WGET_URL="http://switch.dl.sourceforge.net/sourceforge/qwt/$TARBALL" |
slitaz@3277 | 13 |
pascal@14996 | 14 DEPENDS="libQtCore libQtGui libQtScript libQtXml libQtDesigner gcc-lib-base" |
pascal@14996 | 15 BUILD_DEPENDS="$DEPENDS qt4 qmake Qt4-dev" |
pascal@14996 | 16 |
slitaz@3277 | 17 # Rules to configure and make the package. |
slitaz@3277 | 18 compile_rules() |
slitaz@3277 | 19 { |
pankso@3492 | 20 cd $src |
slitaz@3277 | 21 qmake |
gokhlayeh@8867 | 22 make -j1 && |
gokhlayeh@8867 | 23 make INSTALL_ROOT=$DESTDIR install |
slitaz@3277 | 24 } |
slitaz@3277 | 25 |
slitaz@3277 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
slitaz@3277 | 27 genpkg_rules() |
slitaz@3277 | 28 { |
slitaz@3277 | 29 mkdir -p $fs/usr/lib |
pascal@14716 | 30 cp -a $install/usr/lib/qt $fs/usr/lib |
pascal@14716 | 31 cp -a $install/usr/local/qwt-$VERSION/lib/libqwt.so* $fs/usr/lib |
slitaz@3277 | 32 } |