wok-next annotate libqwt6-qt4/receipt @ rev 21278
updated giac (1.4.9 -> 1.5.0.75)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Dec 07 16:47:36 2019 +0100 (2019-12-07) |
parents | df20b2110f7e |
children |
rev | line source |
---|---|
pascal@20319 | 1 # SliTaz package receipt v2. |
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" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@14996 | 8 LICENSE="LGPL2.1" |
al@21020 | 9 WEB_SITE="http://qwt.sourceforge.net/" |
al@20883 | 10 REPOLOGY="qwt" |
al@20883 | 11 |
pankso@13014 | 12 SOURCE="qwt" |
pankso@13014 | 13 TARBALL="$SOURCE-$VERSION.tar.bz2" |
al@21020 | 14 WGET_URL="$SF_MIRROR/qwt/$TARBALL" |
pankso@13014 | 15 |
pankso@13014 | 16 BUILD_DEPENDS="qmake Qt4-dev" |
al@21020 | 17 SPLIT="$PACKAGE-dev" |
pankso@13014 | 18 |
al@21020 | 19 compile_rules() { |
al@21020 | 20 sed \ |
al@21020 | 21 -e 's|$${QWT_INSTALL_PREFIX}/include|/usr/include/qwt/|' \ |
al@21020 | 22 -e 's|$${QWT_INSTALL_PREFIX}/lib|/usr/lib/|' \ |
al@21020 | 23 -e 's|$${QWT_INSTALL_PREFIX}/plugins/designer|/usr/lib/qt/plugins/designer/|' \ |
al@21020 | 24 -e 's|$${QWT_INSTALL_PREFIX}/features|/usr/share/qwt/features/|' \ |
al@21020 | 25 -i qwtconfig.pri |
al@21020 | 26 |
pankso@13014 | 27 qmake && |
pankso@13014 | 28 make -j1 && |
al@21020 | 29 make INSTALL_ROOT=$install install |
pankso@13014 | 30 } |
pankso@13014 | 31 |
al@21020 | 32 genpkg_rules() { |
pascal@20319 | 33 case $PACKAGE in |
al@21020 | 34 libqwt6-qt4) |
al@21020 | 35 copy @std |
al@21020 | 36 DEPENDS="libQtCore libQtGui libQtScript libQtXml libQtDesigner" |
al@21020 | 37 ;; |
al@21020 | 38 *-dev) |
al@21020 | 39 copy @dev |
al@21020 | 40 DEPENDS="qt-x11-opensource-src libqwt6-qt4" |
al@21020 | 41 ;; |
pascal@20319 | 42 esac |
pankso@13014 | 43 } |