wok annotate libqcow/receipt @ rev 24868
updated lxc and lxc-dev (3.2.1 -> 4.0.12)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 30 17:49:17 2022 +0100 (2022-03-30) |
parents | 5ea0ce1cecc0 |
children | 699eb9be2e93 |
rev | line source |
---|---|
pascal@12907 | 1 # SliTaz package receipt. |
pascal@12907 | 2 |
pascal@12907 | 3 PACKAGE="libqcow" |
Hans-G?nter@21280 | 4 VERSION="20181227" |
pascal@12907 | 5 CATEGORY="misc" |
pascal@12907 | 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" |
Hans-G?nter@21280 | 9 WEB_SITE="https://github.com/libyal/libqcow" |
Hans-G?nter@21280 | 10 |
pascal@12907 | 11 TARBALL="$PACKAGE-alpha-$VERSION.tar.gz" |
Hans-G?nter@21280 | 12 WGET_URL="https://github.com/libyal/$PACKAGE/releases/download/$VERSION/$TARBALL" |
pascal@12907 | 13 |
pascal@24766 | 14 DEPENDS="fuse2 libcrypto" |
pascal@24766 | 15 BUILD_DEPENDS="fuse2-dev openssl-dev" |
pascal@12907 | 16 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24055 | 19 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
pascal@12907 | 23 # Rules to configure and make the package. |
pascal@12907 | 24 compile_rules() |
pascal@12907 | 25 { |
Hans-G?nter@21280 | 26 ./configure \ |
Hans-G?nter@21280 | 27 --prefix=/usr \ |
Hans-G?nter@21280 | 28 --mandir=/usr/share/man \ |
Hans-G?nter@21280 | 29 --localstatedir=/var \ |
Hans-G?nter@21280 | 30 $CONFIGURE_ARGS && |
Hans-G?nter@21280 | 31 make -j 1 && |
pascal@12907 | 32 make DESTDIR=$DESTDIR install |
pascal@12907 | 33 } |
pascal@12907 | 34 |
pascal@12907 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@12907 | 36 genpkg_rules() |
pascal@12907 | 37 { |
pascal@12907 | 38 mkdir -p $fs/usr/lib |
Hans-G?nter@21280 | 39 |
Hans-G?nter@21280 | 40 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21280 | 41 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@12907 | 42 } |