blob: 02807c2ff493e194b60e9e2e3cd7e289169ca597 [file] [log] [blame]
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
DESCRIPTION="Ebuild for Android toolchain (compilers, linker, libraries, headers)."
# The source tarball contains files collected from the sources below.
#
# # from ab/6669064
# bertha_arm64-target_files-6669064.zip
# bertha_x86_64-target_files-6669064.zip
#
SRC_URI="http://commondatastorage.googleapis.com/chromeos-localmirror/distfiles/${P}.tar.gz"
LICENSE="GPL-3 LGPL-3 GPL-3 libgcc libstdc++ gcc-runtime-library-exception-3.1 FDL-1.2 UoI-NCSA"
SLOT="0"
KEYWORDS="-* amd64"
IUSE=""
S="${WORKDIR}"
INSTALL_DIR="/opt/android-r"
# These prebuilts are already properly stripped.
RESTRICT="strip"
QA_PREBUILT="*"
src_install() {
dodir "${INSTALL_DIR}"
cp -pPR ./* "${D}/${INSTALL_DIR}/" || die
}