dev-util/heimdall/heimdall-1.1.1.ebuild
changeset 24 3d61943fc211
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dev-util/heimdall/heimdall-1.1.1.ebuild	Mon Oct 03 18:13:08 2011 +0200
@@ -0,0 +1,42 @@
+# 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 ${PN}
+	econf
+}
+
+src_compile() {
+	cd ${PN}
+	emake || die "emake failed"
+}
+
+src_install() {
+	cd ${PN}
+	emake DESTDIR="${D}" install || die "Install failed"
+
+}