dev-util/dmg2img: Fix QA issues in ebuild

Signed-off-by: Dale Sweeney <agooglygooglr@gmail.com>
This commit is contained in:
Dale Sweeney
2024-06-13 15:15:03 -04:00
parent 16846cf990
commit 254f7bde81

7
dev-util/dmg2img/dmg2img-9999.ebuild Executable file → Normal file
View File

@@ -3,11 +3,12 @@
EAPI=8
inherit toolchain-funcs git-r3
inherit git-r3 toolchain-funcs
EGIT_REPO_URI="https://github.com/Lekensteyn/dmg2img"
DESCRIPTION="Convert Apple disk images to IMG format."
HOMEPAGE="https://github.com/Lekensteyn/dmg2img"
LICENSE="GPL-2"
SLOT="0"
IUSE="lzfse"
@@ -22,9 +23,9 @@ RDEPEND="${DEPEND}"
BDEPEND="${DEPEND}"
src_compile() {
emake HAVE_LZFSE=$(usex lzfse 1 0) CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
emake HAVE_LZFSE=$(usex lzfse 1 0) CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
}
src_install() {
emake DESTDIR=${ED} install
emake DESTDIR="${ED}" install
}