equal
deleted
inserted
replaced
|
1 # Copyright 1999-2011 Gentoo Foundation |
|
2 # Distributed under the terms of the GNU General Public License v2 |
|
3 # $Header: $ |
|
4 |
|
5 EAPI=3 |
|
6 |
|
7 inherit git-2 |
|
8 |
|
9 DESCRIPTION="Tool suite used to flash firmware (aka ROMs) onto Samsung Galaxy S devices." |
|
10 HOMEPAGE="http://www.glassechidna.com.au/products/heimdall/" |
|
11 SRC_URI="" |
|
12 |
|
13 EGIT_REPO_URI="git://github.com/Benjamin-Dobell/Heimdall.git" |
|
14 EGIT_COMMIT="v${PV}" |
|
15 |
|
16 LICENSE="" |
|
17 SLOT="0" |
|
18 KEYWORDS="~amd64" |
|
19 IUSE="" |
|
20 |
|
21 DEPEND="virtual/libusb:1" |
|
22 |
|
23 src_prepare() { |
|
24 cd ${PN} |
|
25 sed "s:sudo:#sudo:" -i Makefile.in |
|
26 } |
|
27 |
|
28 src_configure() { |
|
29 cd ${PN} |
|
30 econf |
|
31 } |
|
32 |
|
33 src_compile() { |
|
34 cd ${PN} |
|
35 emake || die "emake failed" |
|
36 } |
|
37 |
|
38 src_install() { |
|
39 cd ${PN} |
|
40 emake DESTDIR="${D}" install || die "Install failed" |
|
41 |
|
42 } |