wok-next view quazip/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 765ba71df4e0
children
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="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://quazip.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.zip"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="zlib-dev Qt4-dev qmake"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 cd $src/quazip
19 qmake PREFIX=$install/usr &&
20 make &&
21 make staticlib &&
22 make install &&
23 install -m 0644 libquazip.a $install/usr/lib &&
24 install -D -m 0644 ../FindQuaZip.cmake \
25 $install/usr/share/apps/cmake/modules/FindQuaZip.cmake
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 quazip)
31 copy @std
32 DEPENDS="zlib"
33 ;;
34 quazip-dev)
35 copy @dev
36 DEPENDS="zlib-dev Qt4-dev"
37 ;;
38 esac
39 }