wok view libqcow/receipt @ rev 25682

Up libqcow (20240308)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 24 18:25:46 2024 +0000 (6 weeks ago)
parents 7364ffdaaa60
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libqcow"
4 VERSION="20240308"
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 --mandir=/usr/share/man \
30 --localstatedir=/var \
31 $CONFIGURE_ARGS &&
32 make -j 1 &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 }