mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 07:33:19 -04:00
This snapshot ebuild packages the repo at 2020-12-27, not 2024-08-18. This version downgrade should hopefully be okay since 20240818 hasn't been merged into master yet. Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
31 lines
656 B
Bash
31 lines
656 B
Bash
# Copyright 2024 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
|
|
sys-libs/zlib
|
|
"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
src_compile() {
|
|
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
}
|
|
|
|
src_install() {
|
|
emake DESTDIR="${ED}" install
|
|
}
|