wok-next annotate quazip/receipt @ rev 21247
updated cyrus-imapd (2.4.17 -> 3.0.12)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Dec 05 16:28:27 2019 +0100 (2019-12-05) |
parents | 765ba71df4e0 |
children |
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" |
al@21020 | 6 SHORT_DESC="Qt/C++ wrapper for ZIP/UNZIP package" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pankso@15873 | 8 LICENSE="GPL2" |
al@21020 | 9 WEB_SITE="http://quazip.sourceforge.net/" |
al@21020 | 10 |
pankso@15873 | 11 TARBALL="$PACKAGE-$VERSION.zip" |
al@21020 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@15873 | 13 |
pankso@15873 | 14 BUILD_DEPENDS="zlib-dev Qt4-dev qmake" |
al@21020 | 15 SPLIT="$PACKAGE-dev" |
pankso@15873 | 16 |
al@21020 | 17 compile_rules() { |
pankso@15873 | 18 cd $src/quazip |
al@21020 | 19 qmake PREFIX=$install/usr && |
pankso@15873 | 20 make && |
pankso@15873 | 21 make staticlib && |
pankso@15873 | 22 make install && |
al@21020 | 23 install -m 0644 libquazip.a $install/usr/lib && |
pankso@15873 | 24 install -D -m 0644 ../FindQuaZip.cmake \ |
al@21020 | 25 $install/usr/share/apps/cmake/modules/FindQuaZip.cmake |
pankso@15873 | 26 } |
pankso@15873 | 27 |
al@21020 | 28 genpkg_rules() { |
slaxemulator@19740 | 29 case $PACKAGE in |
slaxemulator@19740 | 30 quazip) |
slaxemulator@19740 | 31 copy @std |
slaxemulator@19740 | 32 DEPENDS="zlib" |
slaxemulator@19740 | 33 ;; |
slaxemulator@19740 | 34 quazip-dev) |
slaxemulator@19740 | 35 copy @dev |
slaxemulator@19740 | 36 DEPENDS="zlib-dev Qt4-dev" |
slaxemulator@19740 | 37 ;; |
slaxemulator@19740 | 38 esac |
pankso@15873 | 39 } |