pentoo-overlay/app-forensics/libvshadow/libvshadow-0.0.20140731_alpha.ebuild
2014-10-06 05:34:07 +00:00

42 lines
1 KiB
Bash

# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
PYTHON_COMPAT=( python2_{6,7} )
inherit versionator python-single-r1
MY_DATE="$(get_version_component_range 3)"
DESCRIPTION="Library and tools to support the Volume Shadow Snapshot (VSS) format."
HOMEPAGE="http://code.google.com/p/libvshadow/"
SRC_URI="http://dev.pentoo.ch/~blshkv/distfiles/${PN}-alpha-${MY_DATE}.tar.gz http://dev.pentoo.ch/~zero/distfiles/${PN}-alpha-${MY_DATE}.tar.gz"
LICENSE="LGPL-3+"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="debug python nls unicode"
DEPEND="nls? (
virtual/libintl
virtual/libiconv
)
python? ( dev-lang/python )
sys-fs/fuse
app-forensics/libbfio"
RDEPEND="${DEPEND}
sys-fs/fuse"
S="${WORKDIR}/${PN}-${MY_DATE}"
src_configure() {
econf $(use_enable python) \
$(use_enable nls) \
$(use_with nls libiconv-prefix) \
$(use_with nls libintl-prefix) \
$(use_enable unicode wide-character-type) \
$(use_enable debug debug-output) \
$(use_enable debug verbose-output)
}