wok-6.x rev 13014
Add libqwt6-qt4
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Jun 08 21:01:40 2012 +0200 (2012-06-08) |
parents | d91b7f34ff8b |
children | 9d2eea422544 |
files | libqwt6-qt4-dev/receipt libqwt6-qt4/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libqwt6-qt4-dev/receipt Fri Jun 08 21:01:40 2012 +0200 1.3 @@ -0,0 +1,18 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="libqwt6-qt4-dev" 1.7 +VERSION="6.0.1" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Lib Qt Widgets for Technical applications" 1.10 +MAINTAINER="slitaz@objectif-securite.ch" 1.11 +WEB_SITE="http://qwt.sourceforge.net" 1.12 +WANTED="libqwt6-qt4" 1.13 + 1.14 +DEPENDS="qt-x11-opensource-src libqwt6-qt4" 1.15 + 1.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.17 +genpkg_rules() 1.18 +{ 1.19 + mkdir -p $fs/usr 1.20 + cp -a $install/usr/include $fs/usr 1.21 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/libqwt6-qt4/receipt Fri Jun 08 21:01:40 2012 +0200 2.3 @@ -0,0 +1,37 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="libqwt6-qt4" 2.7 +VERSION="6.0.1" 2.8 +CATEGORY="graphics" 2.9 +SHORT_DESC="Lib Qt Widgets for Technical applications" 2.10 +MAINTAINER="slitaz@objectif-securite.ch" 2.11 +SOURCE="qwt" 2.12 +TARBALL="$SOURCE-$VERSION.tar.bz2" 2.13 +WEB_SITE="http://qwt.sourceforge.net" 2.14 +WGET_URL="http://switch.dl.sourceforge.net/sourceforge/qwt/$TARBALL" 2.15 + 2.16 +DEPENDS="libQtCore libQtGui libQtScript libQtXml libQtDesigner gcc-lib-base" 2.17 +BUILD_DEPENDS="qmake Qt4-dev" 2.18 + 2.19 +# Rules to configure and make the package. 2.20 +compile_rules() 2.21 +{ 2.22 + cd $src 2.23 + sed -i \ 2.24 + -e 's/$${QWT_INSTALL_PREFIX}\/include/\/usr\/include\/qwt\//' \ 2.25 + -e 's/$${QWT_INSTALL_PREFIX}\/lib/\/usr\/lib\//' \ 2.26 + -e 's/$${QWT_INSTALL_PREFIX}\/plugins\/designer/\/usr\/lib\/qt\/plugins\/designer\//' \ 2.27 + -e 's/$${QWT_INSTALL_PREFIX}\/features/\/usr\/share\/qwt\/features\//' \ 2.28 + qwtconfig.pri 2.29 + qmake && 2.30 + make -j1 && 2.31 + make INSTALL_ROOT=$DESTDIR install 2.32 +} 2.33 + 2.34 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.35 +genpkg_rules() 2.36 +{ 2.37 + mkdir -p $fs/usr/share 2.38 + cp -a $install/usr/lib $fs/usr 2.39 + cp -a $install/usr/share/qwt $fs/usr/share 2.40 +}