wok-6.x rev 17218

Add libQtMimeTypes.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 14 13:06:04 2014 +0300 (2014-10-14)
parents 252c035d8cdf
children 82bd29a8ab7b
files libQtMimeTypes-dev/receipt libQtMimeTypes/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libQtMimeTypes-dev/receipt	Tue Oct 14 13:06:04 2014 +0300
     1.3 @@ -0,0 +1,21 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libQtMimeTypes-dev"
     1.7 +BRANCH="123e5255daf5bc780f8ecfa62f796a2aedef9a13"
     1.8 +VERSION="${BRANCH:1:7}"
     1.9 +CATEGORY="development"
    1.10 +SHORT_DESC="A Qt4 backport of the Qt5 mimetypes API (development)"
    1.11 +MAINTAINER="al.bobylev@gmail.com"
    1.12 +LICENSE="LGPL2.1"
    1.13 +WEB_SITE="https://qt.gitorious.org/qtplayground/mimetypes"
    1.14 +WANTED="libQtMimeTypes"
    1.15 +
    1.16 +DEPENDS="libQtMimeTypes"
    1.17 +
    1.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.19 +genpkg_rules()
    1.20 +{
    1.21 +	mkdir -p $fs/usr/lib
    1.22 +	cp -a $install/usr/include $fs/usr
    1.23 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.24 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/libQtMimeTypes/receipt	Tue Oct 14 13:06:04 2014 +0300
     2.3 @@ -0,0 +1,28 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="libQtMimeTypes"
     2.7 +BRANCH="123e5255daf5bc780f8ecfa62f796a2aedef9a13"
     2.8 +VERSION="${BRANCH:1:7}"
     2.9 +CATEGORY="development"
    2.10 +SHORT_DESC="A Qt4 backport of the Qt5 mimetypes API"
    2.11 +MAINTAINER="al.bobylev@gmail.com"
    2.12 +LICENSE="LGPL2.1"
    2.13 +WEB_SITE="https://qt.gitorious.org/qtplayground/mimetypes"
    2.14 +TARBALL="$PACKAGE-$BRANCH.tar.gz"
    2.15 +WGET_URL="$WEB_SITE/archive/$BRANCH.tar.gz"
    2.16 +
    2.17 +DEPENDS="libQtCore"
    2.18 +BUILD_DEPENDS="wget cacerts Qt4-dev qmake"
    2.19 +
    2.20 +# Rules to configure and make the package.
    2.21 +compile_rules()
    2.22 +{
    2.23 +	qmake && make && INSTALL_ROOT=$install make install
    2.24 +}
    2.25 +
    2.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.27 +genpkg_rules()
    2.28 +{
    2.29 +	mkdir -p $fs/usr/lib
    2.30 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.31 +}