diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-04-16 13:07:24 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-04-16 13:07:24 +0100 |
commit | 0c100b7dd2b30e75b799d806df4ef899fd98e1ea (patch) | |
tree | 464c922e949c7e4d5d891fb2cdda5daee5612537 /app-emulation/libguestfs-appliance/libguestfs-appliance-1.46.0.ebuild | |
parent | e68d405c5d712af4387159df07e226217bdda049 (diff) |
gentoo resync : 16.04.2022
Diffstat (limited to 'app-emulation/libguestfs-appliance/libguestfs-appliance-1.46.0.ebuild')
-rw-r--r-- | app-emulation/libguestfs-appliance/libguestfs-appliance-1.46.0.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/app-emulation/libguestfs-appliance/libguestfs-appliance-1.46.0.ebuild b/app-emulation/libguestfs-appliance/libguestfs-appliance-1.46.0.ebuild new file mode 100644 index 000000000000..a528cf39d52f --- /dev/null +++ b/app-emulation/libguestfs-appliance/libguestfs-appliance-1.46.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Bump with app-emulation/libguestfs and app-emulation/libguestfs (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://libguestfs.org/download/binaries/appliance/appliance-${PV}.tar.xz" +S="${WORKDIR}" + +LICENSE="GPL-2 LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND="app-arch/xz-utils" +# 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!" +} |