commit: 81489b9d5d024ff07aa364ce41a8cdab688b006e Author: Dale Sweeney <agooglygooglr <AT> gmail <DOT> com> AuthorDate: Wed Jun 12 19:10:53 2024 +0000 Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me> CommitDate: Wed Jun 12 19:10:53 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=81489b9d
*/*: Add ebuilds for dmg2img and lzfse Signed-off-by: Dale Sweeney <agooglygooglr <AT> gmail.com> dev-libs/lzfse/lzfse-9999.ebuild | 16 ++++++++++++++++ dev-util/dmg2img/dmg2img-9999.ebuild | 25 +++++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/dev-libs/lzfse/lzfse-9999.ebuild b/dev-libs/lzfse/lzfse-9999.ebuild new file mode 100644 index 000000000..506cf0166 --- /dev/null +++ b/dev-libs/lzfse/lzfse-9999.ebuild @@ -0,0 +1,16 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit git-r3 + +EGIT_REPO_URI="https://github.com/lzfse/lzfse" + +DESCRIPTION="LZFSE compression library and command line tool." +LICENSE="BSD" +SLOT="0" + +src_install() { + emake INSTALL_PREFIX=${D}/usr install +} diff --git a/dev-util/dmg2img/dmg2img-9999.ebuild b/dev-util/dmg2img/dmg2img-9999.ebuild new file mode 100755 index 000000000..85115ae06 --- /dev/null +++ b/dev-util/dmg2img/dmg2img-9999.ebuild @@ -0,0 +1,25 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit git-r3 + +EGIT_REPO_URI="https://github.com/Lekensteyn/dmg2img" + +DESCRIPTION="Convert Apple disk images to IMG format." +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_configure() { + emake HAVE_LZFSE=$(usex lzfse 1 0) +} + +src_install() { + emake DESTDIR=${D} install +}
