wok-next view libQtMimeTypes/receipt @ rev 20332
Up exosip, httpfs-fuse, libvncserver, upx; add upx391 (for httpfs-fuse)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Nov 15 14:21:32 2017 +0200 (2017-11-15) |
parents | c4bd69945e93 |
children | d43bf7aae921 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libQtMimeTypes"
4 BRANCH="123e5255daf5bc780f8ecfa62f796a2aedef9a13"
5 VERSION="${BRANCH:1:7}"
6 CATEGORY="development"
7 SHORT_DESC="A Qt4 backport of the Qt5 mimetypes API"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="LGPL2.1"
10 WEB_SITE="https://qt.gitorious.org/qtplayground/mimetypes"
11 TARBALL="$PACKAGE-$BRANCH.tar.gz"
12 WGET_URL="$WEB_SITE/archive/$BRANCH.tar.gz"
14 BUILD_DEPENDS="wget cacerts Qt4-dev qmake"
15 SPLIT="libQtMimeTypes-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 qmake && make && INSTALL_ROOT=$install make install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 case $PACKAGE in
27 libQtMimeTypes)
28 DEPENDS="libQtCore"
29 mkdir -p $fs/usr/lib
30 cp -a $install/usr/lib/*.so* $fs/usr/lib
31 ;;
32 libQtMimeTypes-dev)
33 DEPENDS="libQtMimeTypes"
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/include $fs/usr
36 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
37 ;;
38 esac
39 }