libvmdk: new package (req: app-forensics/sleuthkit)

This commit is contained in:
Yury Martynov 2019-05-20 00:13:19 +03:00
parent b17c7ccd8b
commit 4661a47b48
No known key found for this signature in database
GPG key ID: EBE62DD0CCEAE19E
3 changed files with 62 additions and 0 deletions

View file

@ -0,0 +1 @@
DIST libvmdk-20181227_alpha.tar.gz 1541826 BLAKE2B d235f15d5d269d45f2a34ba676e12340a8caa732cf33c683971247c61914b965f9088e197733a406e70bf7cbde3fa1475ebf38450ae251746d1b4e209298cfcf SHA512 e1953178b700bbf93774c190d234f88e37bd4bca01522fd3240e8326622d50c5bc5efe518ccec4d846909b9a8f521e50fe1c1f58ccc019f0c4e180c4b200b3ca

View file

@ -0,0 +1,46 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{5,6,7} )
inherit autotools python-single-r1
DESCRIPTION="Library and tools to access the VMware Virtual Disk (VMDK) format"
HOMEPAGE="https://github.com/libyal/libvmdk"
MY_PV="${PV%_alpha}"
SRC_URI="https://github.com/libyal/libvmdk/releases/download/${MY_PV}/libvmdk-alpha-${MY_PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~hppa ~ppc ~x86"
LICENSE="LGPL-3"
SLOT="0"
IUSE="debug +fuse unicode python nls static static-libs"
REQUIRED_USE="static? ( static-libs )"
RDEPEND="${PYTHON_DEPS}
fuse? ( sys-fs/fuse:0=[static-libs?] )
sys-libs/zlib"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
S="${WORKDIR}"/${PN}-${MY_PV}
src_prepare() {
eautoreconf
eapply_user
}
src_configure() {
econf \
$(usex debug "--enable-debug-output --enable-verbose-output") \
$(use_with fuse libfuse) \
$(use_enable unicode wide-character-type) \
$(use_enable static static-executables) \
$(use_enable static-libs static) \
$(use_enable nls) \
$(use_enable python)
}

View file

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>email@linxon.ru</email>
<name>Yury Martynov</name>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<use>
<flag name="fuse">Enable fuse support</flag>
</use>
</pkgmetadata>