dev-util/simg2img - 1.1.5 (slingshot)

Search

Install

Install this version:

emerge -a =dev-util/simg2img-1.1.5

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-util/simg2img-1.1.5

Or alternatively:

emerge --autounmask-write -a =dev-util/simg2img-1.1.5

Package Information

Description:
Tool to convert Android sparse images to raw images
Homepage:
https://github.com/anestisb/android-simg2img
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
1.1.5 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit toolchain-funcs

DESCRIPTION="Tool to convert Android sparse images to raw images"
HOMEPAGE="https://github.com/anestisb/android-simg2img"
SRC_URI="https://github.com/anestisb/android-simg2img/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"

S="${WORKDIR}/android-simg2img-${PV}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"

DEPEND="virtual/zlib"
RDEPEND="${DEPEND}"

src_prepare() {
	default
	sed -i \
		-e 's|^PREFIX.*=.*|PREFIX ?= /usr|' \
		-e 's|-Werror||g' \
		Makefile || die
}

src_compile() {
	tc-export CXX LD AR RANLIB
	emake PREFIX="${EPREFIX}/usr"
}

src_install() {
	dobin simg2img simg2simg img2simg append2simg
}

Inherited Eclasses

Dependencies

DEPEND

virtual/zlib

RDEPEND

virtual/zlib

Manifest for 1.1.5

Type File Size Source URLs
DIST simg2img-1.1.5.tar.gz 23971 bytes https://github.com/anestisb/android-simg2img/archive/refs/tags/1.1.5.tar.gz