# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-forensics/libbfio/libbfio-0.0.20120425_alpha.ebuild,v 1.5 2014/08/10 17:46:15 slyfox Exp $ EAPI=5 inherit versionator MY_DATE="$(get_version_component_range 3)" DESCRIPTION="Library for providing a basic file input/output abstraction layer" HOMEPAGE="http://code.google.com/p/libbfio/" SRC_URI="http://dev.pentoo.ch/~zero/distfiles/${PN}-alpha-${MY_DATE}.tar.gz" LICENSE="LGPL-3" SLOT="0" KEYWORDS="~amd64 ~hppa ~ppc ~x86" IUSE="unicode" S="${WORKDIR}/${PN}-${MY_DATE}" src_configure() { econf $(use_enable unicode wide-character-type) } src_install() { emake install DESTDIR="${D}" || die "Failed to install" }