wok-next view libQtMimeTypes/receipt @ rev 20949
Fix homepages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Sep 01 16:21:51 2018 +0300 (2018-09-01) |
parents | d43bf7aae921 |
children | d2950281f122 |
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 REPOLOGY="libqtmimetypes"
13 TARBALL="$PACKAGE-$BRANCH.tar.gz"
14 WGET_URL="$WEB_SITE/archive/$BRANCH.tar.gz"
16 BUILD_DEPENDS="Qt4-dev qmake"
17 SPLIT="libQtMimeTypes-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 qmake && make && INSTALL_ROOT=$install make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 case $PACKAGE in
29 libQtMimeTypes)
30 DEPENDS="libQtCore"
31 mkdir -p $fs/usr/lib
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 ;;
34 libQtMimeTypes-dev)
35 DEPENDS="libQtMimeTypes"
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/include $fs/usr
38 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
39 ;;
40 esac
41 }