wok-current annotate quazip/receipt @ rev 16831
Add system-tools-backends, liboobs.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jul 12 14:33:02 2014 +0300 (2014-07-12) |
parents | |
children | ef3a79e3c3a4 |
rev | line source |
---|---|
pankso@15873 | 1 # SliTaz package receipt. |
pankso@15873 | 2 |
pankso@15873 | 3 PACKAGE="quazip" |
pankso@15873 | 4 VERSION="0.6.1" |
pankso@15873 | 5 CATEGORY="system-tools" |
pankso@15873 | 6 SHORT_DESC="Qt/C++ wrapper for ZIP/UNZIP package." |
pankso@15873 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@15873 | 8 LICENSE="GPL2" |
pankso@15873 | 9 TARBALL="$PACKAGE-$VERSION.zip" |
pankso@15873 | 10 WEB_SITE="http://quazip.sourceforge.net/" |
pankso@15873 | 11 WGET_URL="$SF_MIRROR/project/$PACKAGE/$PACKAGE/$VERSION/$TARBALL" |
pankso@15873 | 12 |
pankso@15873 | 13 DEPENDS="zlib" |
pankso@15873 | 14 BUILD_DEPENDS="zlib-dev Qt4-dev qmake" |
pankso@15873 | 15 |
pankso@15873 | 16 # Rules to configure and make the package. |
pankso@15873 | 17 compile_rules() |
pankso@15873 | 18 { |
pankso@15873 | 19 cd $src/quazip |
pankso@15873 | 20 qmake PREFIX=$DESTDIR/usr && |
pankso@15873 | 21 make && |
pankso@15873 | 22 make staticlib && |
pankso@15873 | 23 make install && |
pankso@15873 | 24 install -m 0644 libquazip.a $DESTDIR/usr/lib && |
pankso@15873 | 25 install -D -m 0644 ../FindQuaZip.cmake \ |
pankso@15873 | 26 $DESTDIR/usr/share/apps/cmake/modules/FindQuaZip.cmake |
pankso@15873 | 27 } |
pankso@15873 | 28 |
pankso@15873 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@15873 | 30 genpkg_rules() |
pankso@15873 | 31 { |
pankso@15873 | 32 mkdir -p $fs/usr/lib |
pankso@15873 | 33 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@15873 | 34 } |