wok-next annotate libqcow/receipt @ rev 21051
Small updates.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 30 01:34:53 2018 +0200 (2018-11-30) |
parents | 5841522533ec |
children |
rev | line source |
---|---|
al@20344 | 1 # SliTaz package receipt v2. |
pascal@12907 | 2 |
pascal@12907 | 3 PACKAGE="libqcow" |
al@20344 | 4 VERSION="20170222" |
pascal@12907 | 5 CATEGORY="misc" |
al@20344 | 6 SHORT_DESC="Tools for reading QEMU Copy-On-Write (QCOW) image files" |
pascal@12907 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14716 | 8 LICENSE="LGPL3" |
al@20344 | 9 WEB_SITE="https://github.com/libyal/libqcow" |
al@20344 | 10 |
pascal@12907 | 11 TARBALL="$PACKAGE-alpha-$VERSION.tar.gz" |
al@20344 | 12 WGET_URL="https://github.com/libyal/libqcow/releases/download/$VERSION/$TARBALL" |
pascal@12907 | 13 |
al@21020 | 14 BUILD_DEPENDS="gettext-dev openssl-dev zlib-dev fuse2-dev" |
al@21020 | 15 SPLIT="$PACKAGE-dev" |
pascal@12907 | 16 |
al@20344 | 17 compile_rules() { |
al@20344 | 18 ./configure \ |
pascal@12907 | 19 --localstatedir=/var \ |
pascal@12907 | 20 $CONFIGURE_ARGS && |
al@20595 | 21 fix libtool && |
pascal@12907 | 22 make && |
al@20344 | 23 make install |
pascal@12907 | 24 } |
pascal@12907 | 25 |
al@20344 | 26 genpkg_rules() { |
al@20344 | 27 case $PACKAGE in |
al@20344 | 28 libqcow) |
al@20344 | 29 copy @std |
al@20527 | 30 DEPENDS="fuse2 openssl zlib" |
al@20344 | 31 ;; |
al@20344 | 32 *-dev) |
al@20344 | 33 copy @dev |
al@20344 | 34 DEPENDS="libqcow openssl-dev zlib-dev" |
al@20344 | 35 ;; |
al@20344 | 36 esac |
pascal@12907 | 37 } |