pentoo-overlay/app-forensics/libbfio/libbfio-0.0.20110625_alpha.ebuild
2011-08-29 23:28:51 +00:00

31 lines
702 B
Bash

# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=3
inherit versionator
MY_DATE="$(get_version_component_range 3)"
DESCRIPTION="Library for providing a basic file input/output abstraction layer."
HOMEPAGE="http://sf.net/projects/libbfio"
SRC_URI="mirror://sourceforge/project/${PN}/${PN}-alpha/${PN}-alpha-${MY_DATE}/${PN}-alpha-${MY_DATE}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="unicode"
DEPEND=""
RDEPEND="${DEPEND}"
S="${WORKDIR}/${PN}-${MY_DATE}"
src_configure() {
econf $(use_enable unicode wide-character-type)
}
src_install() {
emake install DESTDIR="${D}" || die "Failed to install"
}