From fa9522bb3f2c9bfd74bf26b14cbdcf9f420a1ddf Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 9 Jun 2024 17:35:58 -0700 Subject: sys-fs/apfsprogs: new package, add 0_pre20240521 Signed-off-by: Zac Medico --- sys-fs/apfsprogs/Manifest | 1 + sys-fs/apfsprogs/apfsprogs-0_pre20240521.ebuild | 29 +++++++++++++++++++++++++ sys-fs/apfsprogs/metadata.xml | 11 ++++++++++ 3 files changed, 41 insertions(+) create mode 100644 sys-fs/apfsprogs/Manifest create mode 100644 sys-fs/apfsprogs/apfsprogs-0_pre20240521.ebuild create mode 100644 sys-fs/apfsprogs/metadata.xml (limited to 'sys-fs') diff --git a/sys-fs/apfsprogs/Manifest b/sys-fs/apfsprogs/Manifest new file mode 100644 index 000000000000..66d268e43a81 --- /dev/null +++ b/sys-fs/apfsprogs/Manifest @@ -0,0 +1 @@ +DIST apfsprogs-0_pre20240521.tar.gz 202087 BLAKE2B e0fabc489b8719522e2da3ce8ca1f3ed1f1d9bef7ea1b1935f09d250adba2e6369e9df84bed2e883846bd0eb152deed9de5ab801482817ac65538501627ca6ff SHA512 ad49350464abbdc6c0ca899135265fc6dffe96865d378e8c6105f17ec75e1f3bca2ddfc40ab2b838cd129357607aa33e92e12e30c82a6a1361a343844773d593 diff --git a/sys-fs/apfsprogs/apfsprogs-0_pre20240521.ebuild b/sys-fs/apfsprogs/apfsprogs-0_pre20240521.ebuild new file mode 100644 index 000000000000..13019944cdb4 --- /dev/null +++ b/sys-fs/apfsprogs/apfsprogs-0_pre20240521.ebuild @@ -0,0 +1,29 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +EGIT_COMMIT="28c0053dcb77efc267b57013702c17007c21d942" +SRC_URI="https://github.com/linux-apfs/apfsprogs/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" +S=${WORKDIR}/${PN}-${EGIT_COMMIT} +KEYWORDS="~amd64" +DESCRIPTION="Experimental APFS tools for linux" +HOMEPAGE="https://github.com/linux-apfs/apfsprogs" +LICENSE="GPL-2" +SLOT="0" +APFSPROGS=(apfs-snap apfsck mkapfs) + +src_compile() { + local prog + emake -C lib || die + for prog in "${APFSPROGS[@]}"; do + emake -C "${prog}" || die + done +} + +src_install() { + local prog + for prog in "${APFSPROGS[@]}"; do + emake -C "${prog}" install DESTDIR="${ED}" BINDIR=/usr/bin MANDIR=/usr/share/man/man8 + done +} diff --git a/sys-fs/apfsprogs/metadata.xml b/sys-fs/apfsprogs/metadata.xml new file mode 100644 index 000000000000..9153843468c1 --- /dev/null +++ b/sys-fs/apfsprogs/metadata.xml @@ -0,0 +1,11 @@ + + + + + zmedico@gentoo.org + Zac Medico + + + linux-apfs/apfsprogs + + -- cgit v1.2.3-65-gdbad