wok-current view quazip/receipt @ rev 21835
updated re2c (0.13.5 -> 1.2.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Sep 14 10:21:53 2019 +0100 (2019-09-14) |
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 }