blob: 22ebeafb261d6f07bc0edbb571708084cac89045 [file] [log] [blame]
# Copyright 2014 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
CROS_WORKON_BLACKLIST=1
CROS_WORKON_INCREMENTAL_BUILD=1
CROS_WORKON_LOCALNAME="platform/core"
CROS_WORKON_PROJECT="platform/system/core"
CROS_WORKON_REPO="https://android.googlesource.com"
PYTHON_COMPAT=( python2_7 )
inherit cros-workon multilib python-single-r1
DESCRIPTION="Library and cli tools for Android sparse files"
HOMEPAGE="https://android.googlesource.com/platform/system/core"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~*"
RDEPEND="
${PYTHON_DEPS}
sys-libs/zlib
"
DEPEND="
sys-libs/zlib
"
src_unpack() {
cros-workon_src_unpack
S+="/${PN}"
}
src_prepare() {
cp "${FILESDIR}/Makefile" "${S}" || die "Copying Makefile"
}
src_configure() {
cros-workon_src_configure
export GENTOO_LIBDIR=$(get_libdir)
tc-export CC
}
src_install() {
default
python_doscript simg_dump.py
}