wok diff libqwt6-qt4/receipt @ rev 13605
Up: kmod (11)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Nov 10 19:54:06 2012 +0100 (2012-11-10) |
parents | |
children | 76b72f1ad63c |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libqwt6-qt4/receipt Sat Nov 10 19:54:06 2012 +0100 1.3 @@ -0,0 +1,37 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="libqwt6-qt4" 1.7 +VERSION="6.0.1" 1.8 +CATEGORY="graphics" 1.9 +SHORT_DESC="Lib Qt Widgets for Technical applications" 1.10 +MAINTAINER="slitaz@objectif-securite.ch" 1.11 +SOURCE="qwt" 1.12 +TARBALL="$SOURCE-$VERSION.tar.bz2" 1.13 +WEB_SITE="http://qwt.sourceforge.net" 1.14 +WGET_URL="http://switch.dl.sourceforge.net/sourceforge/qwt/$TARBALL" 1.15 + 1.16 +DEPENDS="libQtCore libQtGui libQtScript libQtXml libQtDesigner gcc-lib-base" 1.17 +BUILD_DEPENDS="qmake Qt4-dev" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + cd $src 1.23 + sed -i \ 1.24 + -e 's/$${QWT_INSTALL_PREFIX}\/include/\/usr\/include\/qwt\//' \ 1.25 + -e 's/$${QWT_INSTALL_PREFIX}\/lib/\/usr\/lib\//' \ 1.26 + -e 's/$${QWT_INSTALL_PREFIX}\/plugins\/designer/\/usr\/lib\/qt\/plugins\/designer\//' \ 1.27 + -e 's/$${QWT_INSTALL_PREFIX}\/features/\/usr\/share\/qwt\/features\//' \ 1.28 + qwtconfig.pri 1.29 + qmake && 1.30 + make -j1 && 1.31 + make INSTALL_ROOT=$DESTDIR install 1.32 +} 1.33 + 1.34 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.35 +genpkg_rules() 1.36 +{ 1.37 + mkdir -p $fs/usr/share 1.38 + cp -a $install/usr/lib $fs/usr 1.39 + cp -a $install/usr/share/qwt $fs/usr/share 1.40 +}