# HG changeset patch # User Aleksej Bobylev # Date 1413281164 -10800 # Node ID c4bd69945e9366934804da947c55aa5b26f9769d # Parent 252c035d8cdf6382d5d2e0ddf8b60f8dc1d56b80 Add libQtMimeTypes. diff -r 252c035d8cdf -r c4bd69945e93 libQtMimeTypes-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libQtMimeTypes-dev/receipt Tue Oct 14 13:06:04 2014 +0300 @@ -0,0 +1,21 @@ +# SliTaz package receipt. + +PACKAGE="libQtMimeTypes-dev" +BRANCH="123e5255daf5bc780f8ecfa62f796a2aedef9a13" +VERSION="${BRANCH:1:7}" +CATEGORY="development" +SHORT_DESC="A Qt4 backport of the Qt5 mimetypes API (development)" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="LGPL2.1" +WEB_SITE="https://qt.gitorious.org/qtplayground/mimetypes" +WANTED="libQtMimeTypes" + +DEPENDS="libQtMimeTypes" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/pkgconfig $fs/usr/lib +} diff -r 252c035d8cdf -r c4bd69945e93 libQtMimeTypes/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libQtMimeTypes/receipt Tue Oct 14 13:06:04 2014 +0300 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="libQtMimeTypes" +BRANCH="123e5255daf5bc780f8ecfa62f796a2aedef9a13" +VERSION="${BRANCH:1:7}" +CATEGORY="development" +SHORT_DESC="A Qt4 backport of the Qt5 mimetypes API" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="LGPL2.1" +WEB_SITE="https://qt.gitorious.org/qtplayground/mimetypes" +TARBALL="$PACKAGE-$BRANCH.tar.gz" +WGET_URL="$WEB_SITE/archive/$BRANCH.tar.gz" + +DEPENDS="libQtCore" +BUILD_DEPENDS="wget cacerts Qt4-dev qmake" + +# Rules to configure and make the package. +compile_rules() +{ + qmake && make && INSTALL_ROOT=$install make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*.so* $fs/usr/lib +}