mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
app-emulation/libguestfs-appliance: add 1.54.0
The binaries are precompiled so its doubtful this package will work on anything other than amd64. Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
parent
0edd1cb3e4
commit
4fc36f1e19
@ -1 +1,2 @@
|
||||
DIST appliance-1.46.0.tar.xz 145436856 BLAKE2B d9ed31f533a2772b0f506176b39bfdfdec1421fe4ff7934ccdb1db0cb2644d477211ec1a2d372d7e5dd0a8f278f47a39bff813b7bc4c9a038258a5f6358b4e91 SHA512 842119bdf95dbbd61328891e9bd0b557bed90ba79c6419ee18d1a79cd4a301ea6922339b9e80ac314ff3e16498e9d3c594861aebe8e0fc2db41d285eb8e5d578
|
||||
DIST appliance-1.54.0.tar.xz 197794224 BLAKE2B 52e9e3c14c728a270b7bba250e71a6f7f060990450c287bba33a5f8453bb01f3ddc8c1f6755041b1222ae7f7900151a68cb4ee76533a926ca815f24b6b3a16c8 SHA512 9ca010a3df5de27e60d0815bfec23c01ff3b45839765f3ee7728717b165b6a2cf8eb812313441104fe0cb14853726ead682e6b91f64a62334c4e50023ccff502
|
||||
|
||||
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# Bump with app-emulation/libguestfs and app-emulation/guestfs-tools (if any new release there)
|
||||
|
||||
CHECKREQS_DISK_USR=500M
|
||||
CHECKREQS_DISK_BUILD=500M
|
||||
|
||||
inherit check-reqs
|
||||
|
||||
DESCRIPTION="VM appliance disk image used in libguestfs package"
|
||||
HOMEPAGE="https://libguestfs.org/"
|
||||
SRC_URI="https://download.libguestfs.org/binaries/appliance/appliance-${PV}.tar.xz"
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2"
|
||||
SLOT="0"
|
||||
# Precompiled binaries
|
||||
KEYWORDS="-* ~amd64"
|
||||
|
||||
# Mixing libguestfs versions causes weird problems, bug #501588
|
||||
RDEPEND="!<app-emulation/libguestfs-${PV}"
|
||||
|
||||
src_unpack() {
|
||||
# We'll unpack the tarball directly into ${D} to speed up install.
|
||||
# Otherwise we need to duplicate hundreds of data.
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/share/guestfs
|
||||
cd "${ED}"/usr/share/guestfs || die
|
||||
unpack ${A}
|
||||
|
||||
cd appliance || die
|
||||
dodoc README*
|
||||
# Don't rm README.* here, at least README.fixed is needed for libguestfs, see
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1183780
|
||||
chmod 755 . || die
|
||||
chmod 644 * || die
|
||||
|
||||
newenvd "${FILESDIR}"/env.file 99${PN}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# bug #776790
|
||||
elog "Please run . ${EROOT}/etc/profile before attempting to use this package!"
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user