wok view libqcow/receipt @ rev 25603
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 18 11:43:32 2023 +0000 (16 months ago) |
parents | a1831cb3e873 |
children | 1fdbf2cdfae4 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libqcow"
4 VERSION="20221124"
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 }