wok-next diff libqwt5-qt4/receipt @ rev 20446
pixman is obsolete -> xorg-pixman
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 28 13:29:20 2018 +0200 (2018-02-28) |
parents | 76b72f1ad63c |
children | df20b2110f7e |
line diff
1.1 --- a/libqwt5-qt4/receipt Sat Aug 10 11:00:21 2013 +0000 1.2 +++ b/libqwt5-qt4/receipt Wed Feb 28 13:29:20 2018 +0200 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="libqwt5-qt4" 1.8 VERSION="5.2.0" 1.9 @@ -11,13 +11,12 @@ 1.10 WEB_SITE="http://qwt.sourceforge.net" 1.11 WGET_URL="http://switch.dl.sourceforge.net/sourceforge/qwt/$TARBALL" 1.12 1.13 -DEPENDS="libQtCore libQtGui libQtScript libQtXml libQtDesigner gcc-lib-base" 1.14 BUILD_DEPENDS="$DEPENDS qt4 qmake Qt4-dev" 1.15 +SPLIT="libqwt5-qt4-dev" 1.16 1.17 # Rules to configure and make the package. 1.18 compile_rules() 1.19 { 1.20 - cd $src 1.21 qmake 1.22 make -j1 && 1.23 make INSTALL_ROOT=$DESTDIR install 1.24 @@ -26,7 +25,18 @@ 1.25 # Rules to gen a SliTaz package suitable for Tazpkg. 1.26 genpkg_rules() 1.27 { 1.28 - mkdir -p $fs/usr/lib 1.29 - cp -a $install/usr/lib/qt $fs/usr/lib 1.30 - cp -a $install/usr/local/qwt-$VERSION/lib/libqwt.so* $fs/usr/lib 1.31 + case $PACKAGE in 1.32 + libqwt5-qt4) 1.33 + DEPENDS="libQtCore libQtGui libQtScript libQtXml libQtDesigner gcc-lib-base" 1.34 + mkdir -p $fs/usr/lib 1.35 + cp -a $install/usr/lib/qt $fs/usr/lib 1.36 + cp -a $install/usr/local/qwt-$VERSION/lib/libqwt.so* $fs/usr/lib 1.37 + ;; 1.38 + libqwt5-qt4-dev) 1.39 + DEPENDS="qt-x11-opensource-src libqwt5-qt4" 1.40 + mkdir -p $fs/usr/include 1.41 + cp -a $install/usr/local/qwt-$VERSION/include/*.h \ 1.42 + $fs/usr/include 1.43 + ;; 1.44 + esac 1.45 }