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