dev-util/dmg2img: add 20240818

Signed-off-by: Dale Sweeney <agooglygooglr@gmail.com>
This commit is contained in:
Dale Sweeney
2024-08-18 13:19:27 -04:00
parent 78ec3637cd
commit ad679adf7a
2 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST a3e413489ccdd05431401357bf21690536425012.tar.gz 24904 BLAKE2B 01229b9b91873a718a69157565614340e13116a54d4440185423df8799550b7b84512cfe7f1c4cbcb4a3af538094c0567c41949b924f165fa816669cd7006845 SHA512 09da0c0d8680412801be6edccddc7ef588ea8ab0c0637e99652e34a387c1d456682b4881d329bed2ba0c76172b225441b6000cc73f5398853cbf34b1cb554d97

View File

@@ -0,0 +1,33 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
COMMIT="a3e413489ccdd05431401357bf21690536425012"
inherit toolchain-funcs
SRC_URI="https://github.com/Lekensteyn/dmg2img/archive/${COMMIT}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}"
DESCRIPTION="Convert Apple disk images to IMG format."
HOMEPAGE="https://github.com/Lekensteyn/dmg2img"
LICENSE="GPL-2"
SLOT="0"
IUSE="lzfse"
DEPEND="
app-arch/bzip2
dev-libs/openssl
sys-libs/zlib
lzfse? ( dev-libs/lzfse )
"
RDEPEND="${DEPEND}"
BDEPEND="${DEPEND}"
src_compile() {
emake HAVE_LZFSE=$(usex lzfse 1 0) CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
}
src_install() {
emake DESTDIR="${ED}" install
}