wok-current view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="quazip"
4 VERSION="0.8.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Qt/C++ wrapper for ZIP/UNZIP package."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/stachenov/quazip"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
14 DEPENDS="zlib"
15 BUILD_DEPENDS="qmake Qt4-dev zlib-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src/quazip
21 qmake PREFIX=$DESTDIR/usr &&
22 make &&
23 make staticlib &&
24 make install &&
25 install -m 0644 libquazip.a $DESTDIR/usr/lib &&
26 install -D -m 0644 ../FindQuaZip.cmake \
27 $DESTDIR/usr/share/apps/cmake/modules/FindQuaZip.cmake
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 }