blob: e2e7a47c1899f4799c4092c1693ab6b5e933689f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
COMMIT="1ebeb393252ab5aeed62e34bc439b6728444f06e"
DESCRIPTION="Manipulate Android boot images"
HOMEPAGE="https://gitlab.com/ajs124/abootimg"
SRC_URI="https://gitlab.com/ajs124/abootimg/-/archive/${COMMIT}/abootimg-${COMMIT}.tar.bz2 -> ${P}.tar.bz2"
S="${WORKDIR}/${PN}-${COMMIT}"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
DEPEND="sys-apps/util-linux"
RDEPEND="${DEPEND}"
src_compile() {
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
}
src_install() {
dobin abootimg
}
|