mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 20:43:09 -04:00
*/*: Add ebuilds for dmg2img and lzfse
Signed-off-by: Dale Sweeney <agooglygooglr@gmail.com>
This commit is contained in:
16
dev-libs/lzfse/lzfse-9999.ebuild
Normal file
16
dev-libs/lzfse/lzfse-9999.ebuild
Normal file
@@ -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
|
||||||
|
}
|
||||||
25
dev-util/dmg2img/dmg2img-9999.ebuild
Executable file
25
dev-util/dmg2img/dmg2img-9999.ebuild
Executable file
@@ -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
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user