public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sys-fs/apfsprogs/
@ 2024-06-10  0:44 Zac Medico
  0 siblings, 0 replies; only message in thread
From: Zac Medico @ 2024-06-10  0:44 UTC (permalink / raw
  To: gentoo-commits

commit:     fa9522bb3f2c9bfd74bf26b14cbdcf9f420a1ddf
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 10 00:35:58 2024 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Mon Jun 10 00:43:57 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa9522bb

sys-fs/apfsprogs: new package, add 0_pre20240521

Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 sys-fs/apfsprogs/Manifest                       |  1 +
 sys-fs/apfsprogs/apfsprogs-0_pre20240521.ebuild | 29 +++++++++++++++++++++++++
 sys-fs/apfsprogs/metadata.xml                   | 11 ++++++++++
 3 files changed, 41 insertions(+)

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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>zmedico@gentoo.org</email>
+		<name>Zac Medico</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">linux-apfs/apfsprogs</remote-id>
+	</upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-06-10  0:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-10  0:44 [gentoo-commits] repo/gentoo:master commit in: sys-fs/apfsprogs/ Zac Medico

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox