diff -r 27b21ebe53c4 -r 22053777005a dev-util/heimdall/heimdall-1.3.1.ebuild --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dev-util/heimdall/heimdall-1.3.1.ebuild Sat Sep 29 22:20:57 2012 +0200 @@ -0,0 +1,48 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3 + +inherit git-2 + +DESCRIPTION="Tool suite used to flash firmware (aka ROMs) onto Samsung Galaxy S devices." +HOMEPAGE="http://www.glassechidna.com.au/products/heimdall/" +SRC_URI="" + +EGIT_REPO_URI="git://github.com/Benjamin-Dobell/Heimdall.git" +EGIT_COMMIT="v${PV}" + +LICENSE="" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND="virtual/libusb:1" + +src_prepare() { + cd ${PN} + sed "s:sudo:#sudo:" -i Makefile.in +} + +src_configure() { + cd libpit + econf + cd ../heimdall + econf +} + +src_compile() { + cd libpit + emake || die "emake failed" + cd ../heimdall + emake || die "emake failed" +} + +src_install() { + cd libpit + emake DESTDIR="${D}" install || die "Install failed" + cd ../heimdall + emake DESTDIR="${D}" install || die "Install failed" + +}