wok diff quazip/receipt @ rev 16563
potamus: needs libsamplrate
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 01 11:08:34 2014 +0200 (2014-05-01) |
parents | |
children | ef3a79e3c3a4 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/quazip/receipt Thu May 01 11:08:34 2014 +0200 1.3 @@ -0,0 +1,34 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="quazip" 1.7 +VERSION="0.6.1" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="Qt/C++ wrapper for ZIP/UNZIP package." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +LICENSE="GPL2" 1.12 +TARBALL="$PACKAGE-$VERSION.zip" 1.13 +WEB_SITE="http://quazip.sourceforge.net/" 1.14 +WGET_URL="$SF_MIRROR/project/$PACKAGE/$PACKAGE/$VERSION/$TARBALL" 1.15 + 1.16 +DEPENDS="zlib" 1.17 +BUILD_DEPENDS="zlib-dev Qt4-dev qmake" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + cd $src/quazip 1.23 + qmake PREFIX=$DESTDIR/usr && 1.24 + make && 1.25 + make staticlib && 1.26 + make install && 1.27 + install -m 0644 libquazip.a $DESTDIR/usr/lib && 1.28 + install -D -m 0644 ../FindQuaZip.cmake \ 1.29 + $DESTDIR/usr/share/apps/cmake/modules/FindQuaZip.cmake 1.30 +} 1.31 + 1.32 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.33 +genpkg_rules() 1.34 +{ 1.35 + mkdir -p $fs/usr/lib 1.36 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.37 +}