wok-next view quazip/receipt @ rev 19709
Up at-spi2-atk, libpcap, nettle, readline, tiff, xcb-util* and 220 Perl packages (there are still about 20 left)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu May 11 02:23:02 2017 +0300 (2017-05-11) |
parents | |
children | 765ba71df4e0 |
line source
1 # SliTaz package receipt.
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 DEPENDS="zlib"
14 BUILD_DEPENDS="zlib-dev Qt4-dev qmake"
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 mkdir -p $fs/usr/lib
33 cp -a $install/usr/lib/*.so* $fs/usr/lib
34 }