wok-current view libQtMimeTypes/receipt @ rev 25687

Up expat CVE-2024-28757
author Stanislas Leduc <shann@slitaz.org>
date Fri Mar 15 07:23:20 2024 +0000 (9 months ago)
parents 4ce52a0b72fd
children 5926178cd6fa
line source
1 # SliTaz package receipt.
3 PACKAGE="libQtMimeTypes"
4 VERSION="1.0.1"
5 CATEGORY="development"
6 SHORT_DESC="A Qt4 backport of the Qt5 mimetypes API"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/qtproject/playground-mimetypes"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$WEB_SITE/archive/refs/tags/v$VERSION.tar.gz"
13 DEPENDS="libQtCore"
14 BUILD_DEPENDS="wget cacerts Qt4-dev qmake"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 qmake && make && INSTALL_ROOT=$install make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $install/usr/lib/*.so* $fs/usr/lib
34 }