wok-current annotate quazip/receipt @ rev 23512
updated python-netifaces (0.8 -> 0.10.9)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 06 10:53:56 2020 +0100 (2020-04-06) |
parents | d302363f5fc6 |
children | 5ea0ce1cecc0 |
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 |
pankso@15873 | 17 # Rules to configure and make the package. |
pankso@15873 | 18 compile_rules() |
pankso@15873 | 19 { |
pankso@15873 | 20 cd $src/quazip |
pankso@15873 | 21 qmake PREFIX=$DESTDIR/usr && |
pankso@15873 | 22 make && |
pankso@15873 | 23 make staticlib && |
pankso@15873 | 24 make install && |
pankso@15873 | 25 install -m 0644 libquazip.a $DESTDIR/usr/lib && |
pankso@15873 | 26 install -D -m 0644 ../FindQuaZip.cmake \ |
pankso@15873 | 27 $DESTDIR/usr/share/apps/cmake/modules/FindQuaZip.cmake |
pankso@15873 | 28 } |
pankso@15873 | 29 |
pankso@15873 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@15873 | 31 genpkg_rules() |
pankso@15873 | 32 { |
pankso@15873 | 33 mkdir -p $fs/usr/lib |
pankso@15873 | 34 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@15873 | 35 } |