diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-emulation/libguestfs-appliance/libguestfs-appliance-1.26.0-r1.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-emulation/libguestfs-appliance/libguestfs-appliance-1.26.0-r1.ebuild')
-rw-r--r-- | app-emulation/libguestfs-appliance/libguestfs-appliance-1.26.0-r1.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/app-emulation/libguestfs-appliance/libguestfs-appliance-1.26.0-r1.ebuild b/app-emulation/libguestfs-appliance/libguestfs-appliance-1.26.0-r1.ebuild new file mode 100644 index 000000000000..b49125430174 --- /dev/null +++ b/app-emulation/libguestfs-appliance/libguestfs-appliance-1.26.0-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +CHECKREQS_DISK_USR=500M +CHECKREQS_DISK_BUILD=500M + +inherit check-reqs + +DESCRIPTION="VM appliance disk image used in libguestfs package" +HOMEPAGE="http://libguestfs.org/" +SRC_URI="http://libguestfs.org/download/binaries/appliance/appliance-${PV}.tar.xz" + +LICENSE="GPL-2 LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="app-arch/xz-utils" +# Mixing libguestfs versions causes weird problems. #501588 +RDEPEND="!<app-emulation/libguestfs-${PV}" + +S="${WORKDIR}" + +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 + unpack ${A} + cd appliance || die + dodoc README* + rm README* || die + chmod 755 . || die + chmod 644 * || die + + newenvd "${FILESDIR}"/env.file 99"${PN}" +} |