mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
dev-util/dmg2img: Fix compile step in ebuild
Signed-off-by: Dale Sweeney <agooglygooglr@gmail.com>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit git-r3
|
||||
inherit toolchain-funcs git-r3
|
||||
|
||||
EGIT_REPO_URI="https://github.com/Lekensteyn/dmg2img"
|
||||
|
||||
@@ -12,14 +12,19 @@ LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="lzfse"
|
||||
|
||||
DEPEND="app-arch/bzip2 dev-libs/openssl sys-libs/zlib lzfse? ( dev-libs/lzfse )"
|
||||
DEPEND="
|
||||
app-arch/bzip2
|
||||
dev-libs/openssl
|
||||
sys-libs/zlib
|
||||
lzfse? ( dev-libs/lzfse )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
emake HAVE_LZFSE=$(usex lzfse 1 0)
|
||||
src_compile() {
|
||||
emake HAVE_LZFSE=$(usex lzfse 1 0) CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR=${D} install
|
||||
emake DESTDIR=${ED} install
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user