Files
gentoo-zh/dev-android/fastboot/fastboot-9999.ebuild
T
2012-06-28 17:44:10 +08:00

36 lines
619 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"
SRC_URI=""
EGIT_REPO_URI="https://android.googlesource.com/platform/system/core.git"
LICENSE=""
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
DEPEND="sys-libs/zlib"
RDEPEND="${DEPEND}"
src_compile(){
cd fastboot
cp ${FILESDIR}/Makefile Makefile
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)"
}
src_install(){
cd fastboot
einstall DESTDIR=${D}
}