wok-next view quazip/receipt @ rev 20695

tor finetune: let me see if I can make those 2 warnings disappear
author Erkan Yilmaz <erkan@slitaz.org>
date Wed May 23 14:13:12 2018 +0000 (2018-05-23)
parents d302363f5fc6
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="quazip"
4 VERSION="0.6.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Qt/C++ wrapper for ZIP/UNZIP package."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.zip"
10 WEB_SITE="http://quazip.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/project/$PACKAGE/$PACKAGE/$VERSION/$TARBALL"
13 BUILD_DEPENDS="zlib-dev Qt4-dev qmake"
14 SPLIT="quazip-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src/quazip
20 qmake PREFIX=$DESTDIR/usr &&
21 make &&
22 make staticlib &&
23 make install &&
24 install -m 0644 libquazip.a $DESTDIR/usr/lib &&
25 install -D -m 0644 ../FindQuaZip.cmake \
26 $DESTDIR/usr/share/apps/cmake/modules/FindQuaZip.cmake
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 case $PACKAGE in
33 quazip)
34 copy @std
35 DEPENDS="zlib"
36 ;;
37 quazip-dev)
38 copy @dev
39 DEPENDS="zlib-dev Qt4-dev"
40 ;;
41 esac
42 }