wok-next view quazip/receipt @ rev 21362

iptraf: new WGET_URL
author Hans-G?nter Theisgen
date Mon Apr 13 08:05:00 2020 +0100 (2020-04-13)
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 }