wok view libQtMimeTypes/receipt @ rev 24744

ncursesw-dev: add pkg config files
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 16 10:01:11 2022 +0000 (2022-03-16)
parents efa71a1392d4
children 92b662c0aa2d
line source
1 # SliTaz package receipt.
3 PACKAGE="libQtMimeTypes"
4 BRANCH="123e5255daf5bc780f8ecfa62f796a2aedef9a13"
5 VERSION="1.0.1_${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://web.archive.org/web/20121025184403/http://qt.gitorious.org/qtplayground/mimetypes"
11 TARBALL="$PACKAGE-$BRANCH.tar.gz"
12 WGET_URL="$WEB_SITE/archive/$BRANCH.tar.gz"
14 DEPENDS="libQtCore"
15 BUILD_DEPENDS="wget cacerts Qt4-dev qmake"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://code.qt.io/cgit/playground/mimetypes.git/refs/ 2>/dev/null | \
21 sed '/\/tag\//!d;s|.*h=v||;s|.>.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 qmake && make && INSTALL_ROOT=$install make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 }