wok view quazip/receipt @ rev 16537

wine: update bdeps (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 28 13:55:14 2014 +0000 (2014-04-28)
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 }