wok-next annotate libqwt5-qt4/receipt @ rev 20319
nagios-plugins: tiny patch, mingw32-binutils: update cflags
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 11 16:12:32 2017 +0100 (2017-11-11) |
parents | 76b72f1ad63c |
children | df20b2110f7e |
rev | line source |
---|---|
pascal@20319 | 1 # SliTaz package receipt v2. |
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 BUILD_DEPENDS="$DEPENDS qt4 qmake Qt4-dev" |
pascal@20319 | 15 SPLIT="libqwt5-qt4-dev" |
pascal@14996 | 16 |
slitaz@3277 | 17 # Rules to configure and make the package. |
slitaz@3277 | 18 compile_rules() |
slitaz@3277 | 19 { |
slitaz@3277 | 20 qmake |
gokhlayeh@8867 | 21 make -j1 && |
gokhlayeh@8867 | 22 make INSTALL_ROOT=$DESTDIR 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 { |
pascal@20319 | 28 case $PACKAGE in |
pascal@20319 | 29 libqwt5-qt4) |
pascal@20319 | 30 DEPENDS="libQtCore libQtGui libQtScript libQtXml libQtDesigner gcc-lib-base" |
pascal@20319 | 31 mkdir -p $fs/usr/lib |
pascal@20319 | 32 cp -a $install/usr/lib/qt $fs/usr/lib |
pascal@20319 | 33 cp -a $install/usr/local/qwt-$VERSION/lib/libqwt.so* $fs/usr/lib |
pascal@20319 | 34 ;; |
pascal@20319 | 35 libqwt5-qt4-dev) |
pascal@20319 | 36 DEPENDS="qt-x11-opensource-src libqwt5-qt4" |
pascal@20319 | 37 mkdir -p $fs/usr/include |
pascal@20319 | 38 cp -a $install/usr/local/qwt-$VERSION/include/*.h \ |
pascal@20319 | 39 $fs/usr/include |
pascal@20319 | 40 ;; |
pascal@20319 | 41 esac |
slitaz@3277 | 42 } |