Install this version:
emerge -a =dev-util/dmg2img-20201227
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-util/dmg2img-20201227
Or alternatively:
emerge --autounmask-write -a =dev-util/dmg2img-20201227
# Copyright 2024-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
COMMIT="a3e413489ccdd05431401357bf21690536425012"
inherit toolchain-funcs
DESCRIPTION="Convert Apple disk images to IMG format."
HOMEPAGE="https://github.com/Lekensteyn/dmg2img"
SRC_URI="https://github.com/Lekensteyn/dmg2img/archive/${COMMIT}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="
dev-libs/openssl
virtual/zlib:=
"
RDEPEND="${DEPEND}"
src_compile() {
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
}
src_install() {
emake DESTDIR="${ED}" install
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | dmg2img-20201227.gh.tar.gz | 24904 bytes | https://github.com/Lekensteyn/dmg2img/archive/a3e413489ccdd05431401357bf21690536425012.tar.gz |