wok view libqcow/receipt @ rev 24780

transmission: autoconf 2.70+ bug workaround
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 19 20:17:02 2022 +0000 (2022-03-19)
parents 5ea0ce1cecc0
children 699eb9be2e93
line source
1 # SliTaz package receipt.
3 PACKAGE="libqcow"
4 VERSION="20181227"
5 CATEGORY="misc"
6 SHORT_DESC="Tools for reading QEMU Copy-On-Write (QCOW) image files."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL3"
9 WEB_SITE="https://github.com/libyal/libqcow"
11 TARBALL="$PACKAGE-alpha-$VERSION.tar.gz"
12 WGET_URL="https://github.com/libyal/$PACKAGE/releases/download/$VERSION/$TARBALL"
14 DEPENDS="fuse2 libcrypto"
15 BUILD_DEPENDS="fuse2-dev openssl-dev"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --prefix=/usr \
28 --mandir=/usr/share/man \
29 --localstatedir=/var \
30 $CONFIGURE_ARGS &&
31 make -j 1 &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 }