wok view libqcow/receipt @ rev 25511
memtest: 386 support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 13 17:17:56 2023 +0000 (21 months ago) |
parents | 72f2704d3ae0 |
children | a1831cb3e873 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libqcow"
4 VERSION="20210419"
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 }