wok-6.x view quazip/receipt @ rev 16511

Improve pyglow support
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 24 20:43:02 2014 +0200 (2014-04-24)
parents
children ef3a79e3c3a4
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 }