wok-next diff libqwt6-qt4/receipt @ rev 21152
Update lua-socket, prosody, luajit.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 31 10:34:36 2019 +0200 (2019-01-31) |
parents | df20b2110f7e |
children |
line diff
1.1 --- a/libqwt6-qt4/receipt Wed Jul 11 02:06:34 2018 +0300 1.2 +++ b/libqwt6-qt4/receipt Thu Jan 31 10:34:36 2019 +0200 1.3 @@ -4,46 +4,40 @@ 1.4 VERSION="6.0.1" 1.5 CATEGORY="graphics" 1.6 SHORT_DESC="Lib Qt Widgets for Technical applications" 1.7 -MAINTAINER="slitaz@objectif-securite.ch" 1.8 +MAINTAINER="devel@slitaz.org" 1.9 LICENSE="LGPL2.1" 1.10 -WEB_SITE="http://qwt.sourceforge.net" 1.11 +WEB_SITE="http://qwt.sourceforge.net/" 1.12 REPOLOGY="qwt" 1.13 1.14 SOURCE="qwt" 1.15 TARBALL="$SOURCE-$VERSION.tar.bz2" 1.16 -WGET_URL="http://switch.dl.sourceforge.net/sourceforge/qwt/$TARBALL" 1.17 +WGET_URL="$SF_MIRROR/qwt/$TARBALL" 1.18 1.19 BUILD_DEPENDS="qmake Qt4-dev" 1.20 -SPLIT="libqwt6-qt4-dev" 1.21 +SPLIT="$PACKAGE-dev" 1.22 1.23 -# Rules to configure and make the package. 1.24 -compile_rules() 1.25 -{ 1.26 - sed -i \ 1.27 - -e 's/$${QWT_INSTALL_PREFIX}\/include/\/usr\/include\/qwt\//' \ 1.28 - -e 's/$${QWT_INSTALL_PREFIX}\/lib/\/usr\/lib\//' \ 1.29 - -e 's/$${QWT_INSTALL_PREFIX}\/plugins\/designer/\/usr\/lib\/qt\/plugins\/designer\//' \ 1.30 - -e 's/$${QWT_INSTALL_PREFIX}\/features/\/usr\/share\/qwt\/features\//' \ 1.31 - qwtconfig.pri 1.32 +compile_rules() { 1.33 + sed \ 1.34 + -e 's|$${QWT_INSTALL_PREFIX}/include|/usr/include/qwt/|' \ 1.35 + -e 's|$${QWT_INSTALL_PREFIX}/lib|/usr/lib/|' \ 1.36 + -e 's|$${QWT_INSTALL_PREFIX}/plugins/designer|/usr/lib/qt/plugins/designer/|' \ 1.37 + -e 's|$${QWT_INSTALL_PREFIX}/features|/usr/share/qwt/features/|' \ 1.38 + -i qwtconfig.pri 1.39 + 1.40 qmake && 1.41 make -j1 && 1.42 - make INSTALL_ROOT=$DESTDIR install 1.43 + make INSTALL_ROOT=$install install 1.44 } 1.45 1.46 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.47 -genpkg_rules() 1.48 -{ 1.49 +genpkg_rules() { 1.50 case $PACKAGE in 1.51 - libqwt6-qt4) 1.52 - DEPENDS="libQtCore libQtGui libQtScript libQtXml libQtDesigner gcc-lib-base" 1.53 - mkdir -p $fs/usr/share 1.54 - cp -a $install/usr/lib $fs/usr 1.55 - cp -a $install/usr/share/qwt $fs/usr/share 1.56 - ;; 1.57 - libqwt6-qt4-dev) 1.58 - DEPENDS="qt-x11-opensource-src libqwt6-qt4" 1.59 - mkdir -p $fs/usr 1.60 - cp -a $install/usr/include $fs/usr 1.61 - ;; 1.62 + libqwt6-qt4) 1.63 + copy @std 1.64 + DEPENDS="libQtCore libQtGui libQtScript libQtXml libQtDesigner" 1.65 + ;; 1.66 + *-dev) 1.67 + copy @dev 1.68 + DEPENDS="qt-x11-opensource-src libqwt6-qt4" 1.69 + ;; 1.70 esac 1.71 }