wok-next view quazip/receipt @ rev 18738
docbook-xsl-ns: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 21 23:56:28 2015 +0100 (2015-12-21) |
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 }