wok-next annotate quazip/receipt @ rev 20859
Update ALSA stack (1.1.6)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 27 13:35:43 2018 +0300 (2018-06-27) |
parents | d302363f5fc6 |
children | d5aab818505e |
rev | line source |
---|---|
slaxemulator@19740 | 1 # SliTaz package receipt v2. |
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 BUILD_DEPENDS="zlib-dev Qt4-dev qmake" |
slaxemulator@19740 | 14 SPLIT="quazip-dev" |
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 { |
slaxemulator@19740 | 32 case $PACKAGE in |
slaxemulator@19740 | 33 quazip) |
slaxemulator@19740 | 34 copy @std |
slaxemulator@19740 | 35 DEPENDS="zlib" |
slaxemulator@19740 | 36 ;; |
slaxemulator@19740 | 37 quazip-dev) |
slaxemulator@19740 | 38 copy @dev |
slaxemulator@19740 | 39 DEPENDS="zlib-dev Qt4-dev" |
slaxemulator@19740 | 40 ;; |
slaxemulator@19740 | 41 esac |
pankso@15873 | 42 } |