tkurbad-overlay/dev-android/fastboot/fastboot-9999.ebuild
2012-11-29 13:31:41 +01:00

34 lines
673 B
Bash

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
inherit toolchain-funcs git-2
DESCRIPTION="fastboot is a util to control android bootloader"
HOMEPAGE="android.googlesource.com"
EGIT_ANDROID="http://android.googlesource.com/platform"
EGIT_REPO_URI=""$EGIT_ANDROID"/system/core"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="sys-libs/zlib"
RDEPEND="${DEPEND}"
src_compile(){
cd fastboot
git clone "$EGIT_ANDROID"/system/extras
git clone "$EGIT_ANDROID"/external/libselinux
cp ${FILESDIR}/Makefile Makefile
emake
}
src_install(){
cd fastboot
einstall DESTDIR=${D}
}