# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-libs/libmtp/libmtp-9999.ebuild,v 1.9 2013/11/23 13:40:55 ssuominen Exp $ EAPI=5 inherit autotools eutils if [[ ${PV} == *9999* ]]; then EGIT_REPO_URI="git://github.com/agx/libcrystalhd.git" inherit git-2 else KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-fbsd" SRC_URI="http://github.com/agx/crystalhd/releases/${PN}/${P}.tar.gz" fi DESCRIPTION="Library supporting the Broadcom CrystalHD linux kernel driver." HOMEPAGE="http://honx.sigxcpu.org/con/CrystalHD_progress.html" LICENSE="LGPL-2.1" SLOT="0" src_unpack() { [[ ${PV} == *9999* ]] && git-2_src_unpack || default } src_prepare () { eautoreconf } src_configure() { econf } src_install() { emake DESTDIR="${D}" install || die "emake install failed" dodoc AUTHORS README }