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

This commit is contained in:
Yury Martynov 2019-05-20 00:12:43 +03:00
parent 020e7de7eb
commit b17c7ccd8b
No known key found for this signature in database
GPG key ID: EBE62DD0CCEAE19E
3 changed files with 61 additions and 0 deletions

View file

@ -0,0 +1 @@
DIST libvhdi-20181227_alpha.tar.gz 1434823 BLAKE2B ff51ce4606078612fe32d00e4ebcb87c14c818ab2ead734870475688011fc0768db0ff60c5894d5abbcd21150aa5dd06a3c4dafc4faa6ea25bb1cd2d7d278951 SHA512 7e5f60f13ec37cd5fc030a32db184df66dc4913f221136ba26e70c42190930ea56e13ab2963f9570698e84eddb5caeb5468285a0bce976c7166338296e2a4077

View file

@ -0,0 +1,45 @@
# 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 Virtual Hard Disk (VHD) image format"
HOMEPAGE="https://github.com/libyal/libvhdi"
MY_PV="${PV%_alpha}"
SRC_URI="https://github.com/libyal/libvhdi/releases/download/${MY_PV}/libvhdi-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?] )"
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>