dev-util/heimdall/heimdall-1.1.1.ebuild
changeset 105 abcb8bb08b42
parent 103 8c6ab940f70d
parent 104 dbe0aa719784
child 107 5a72a91d20aa
child 110 e809f673b31d
equal deleted inserted replaced
103:8c6ab940f70d 105:abcb8bb08b42
     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 }