summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2024-06-09 17:35:58 -0700
committerZac Medico <zmedico@gentoo.org>2024-06-09 17:43:57 -0700
commitfa9522bb3f2c9bfd74bf26b14cbdcf9f420a1ddf (patch)
treea2c7ef277cc81c9ad6305b74f4692161b366894c /sys-fs
parentsys-fs/linux-apfs-rw: new package, add 0.3.9 (diff)
downloadgentoo-fa9522bb3f2c9bfd74bf26b14cbdcf9f420a1ddf.tar.gz
gentoo-fa9522bb3f2c9bfd74bf26b14cbdcf9f420a1ddf.tar.bz2
gentoo-fa9522bb3f2c9bfd74bf26b14cbdcf9f420a1ddf.zip
sys-fs/apfsprogs: new package, add 0_pre20240521
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/apfsprogs/Manifest1
-rw-r--r--sys-fs/apfsprogs/apfsprogs-0_pre20240521.ebuild29
-rw-r--r--sys-fs/apfsprogs/metadata.xml11
3 files changed, 41 insertions, 0 deletions
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>