wok annotate libQtMimeTypes/receipt @ rev 25371
updated tmux-mem-cpu-load (3.4.0 -> 3.6.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 29 14:34:07 2022 +0100 (2022-07-29) |
parents | 4ce52a0b72fd |
children |
rev | line source |
---|---|
al@17218 | 1 # SliTaz package receipt. |
al@17218 | 2 |
al@17218 | 3 PACKAGE="libQtMimeTypes" |
pascal@25095 | 4 VERSION="1.0.1" |
al@17218 | 5 CATEGORY="development" |
al@17218 | 6 SHORT_DESC="A Qt4 backport of the Qt5 mimetypes API" |
al@17218 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@17218 | 8 LICENSE="LGPL2.1" |
pascal@25095 | 9 WEB_SITE="https://github.com/qtproject/playground-mimetypes" |
pascal@25095 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@25095 | 11 WGET_URL="$WEB_SITE/archive/refs/tags/v$VERSION.tar.gz" |
al@17218 | 12 |
al@17218 | 13 DEPENDS="libQtCore" |
al@17218 | 14 BUILD_DEPENDS="wget cacerts Qt4-dev qmake" |
al@17218 | 15 |
pascal@24744 | 16 # What is the latest version available today? |
pascal@24744 | 17 current_version() |
pascal@24744 | 18 { |
pascal@25095 | 19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@25095 | 20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24744 | 21 } |
pascal@24744 | 22 |
al@17218 | 23 # Rules to configure and make the package. |
al@17218 | 24 compile_rules() |
al@17218 | 25 { |
al@17218 | 26 qmake && make && INSTALL_ROOT=$install make install |
al@17218 | 27 } |
al@17218 | 28 |
al@17218 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@17218 | 30 genpkg_rules() |
al@17218 | 31 { |
al@17218 | 32 mkdir -p $fs/usr/lib |
al@17218 | 33 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@17218 | 34 } |