wok-6.x annotate quazip/receipt @ rev 25392
updated usbids (2022.03.22 -> 2022.08.01)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Aug 01 15:27:35 2022 +0100 (2022-08-01) |
parents | ef3a79e3c3a4 |
children |
rev | line source |
---|---|
pankso@15873 | 1 # SliTaz package receipt. |
pankso@15873 | 2 |
pankso@15873 | 3 PACKAGE="quazip" |
Hans-G?nter@21748 | 4 VERSION="0.8.1" |
pankso@15873 | 5 CATEGORY="system-tools" |
pankso@15873 | 6 SHORT_DESC="Qt/C++ wrapper for ZIP/UNZIP package." |
pankso@15873 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@15873 | 8 LICENSE="GPL2" |
Hans-G?nter@21748 | 9 WEB_SITE="https://github.com/stachenov/quazip" |
Hans-G?nter@21748 | 10 |
Hans-G?nter@21748 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21748 | 12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" |
pankso@15873 | 13 |
pankso@15873 | 14 DEPENDS="zlib" |
Hans-G?nter@21748 | 15 BUILD_DEPENDS="qmake Qt4-dev zlib-dev" |
pankso@15873 | 16 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24055 | 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
pankso@15873 | 23 # Rules to configure and make the package. |
pankso@15873 | 24 compile_rules() |
pankso@15873 | 25 { |
pankso@15873 | 26 cd $src/quazip |
pankso@15873 | 27 qmake PREFIX=$DESTDIR/usr && |
pankso@15873 | 28 make && |
pankso@15873 | 29 make staticlib && |
pankso@15873 | 30 make install && |
pankso@15873 | 31 install -m 0644 libquazip.a $DESTDIR/usr/lib && |
pankso@15873 | 32 install -D -m 0644 ../FindQuaZip.cmake \ |
pankso@15873 | 33 $DESTDIR/usr/share/apps/cmake/modules/FindQuaZip.cmake |
pankso@15873 | 34 } |
pankso@15873 | 35 |
pankso@15873 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@15873 | 37 genpkg_rules() |
pankso@15873 | 38 { |
pankso@15873 | 39 mkdir -p $fs/usr/lib |
pankso@15873 | 40 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@15873 | 41 } |