# SliTaz package receipt. PACKAGE="libqwt5-qt4" VERSION="5.2.0" CATEGORY="graphics" SHORT_DESC="Lib Qt Widgets for Technical applications" MAINTAINER="slitaz@objectif-securite.ch" DEPENDS="libQtCore libQtGui libQtScript libQtXml libQtDesigner gcc-lib-base" BUILD_DEPENDS="$DEPENDS qt4 qmake Qt4-dev" SOURCE="qwt" TARBALL="$SOURCE-$VERSION.tar.bz2" WEB_SITE="http://qwt.sourceforge.net" WGET_URL="http://switch.dl.sourceforge.net/sourceforge/qwt/$TARBALL" # Rules to configure and make the package. compile_rules() { cd $src qmake make -j1 && make INSTALL_ROOT=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib cp -a $_pkg/usr/lib/qt $fs/usr/lib cp -a $_pkg/usr/local/qwt-$VERSION/lib/libqwt.so* $fs/usr/lib }