diff options
Diffstat (limited to 'sys-fs/apfsprogs')
-rw-r--r-- | sys-fs/apfsprogs/Manifest | 3 | ||||
-rw-r--r-- | sys-fs/apfsprogs/apfsprogs-0_pre20240521.ebuild | 29 | ||||
-rw-r--r-- | sys-fs/apfsprogs/metadata.xml | 11 |
3 files changed, 43 insertions, 0 deletions
diff --git a/sys-fs/apfsprogs/Manifest b/sys-fs/apfsprogs/Manifest new file mode 100644 index 000000000000..7f029630d8a0 --- /dev/null +++ b/sys-fs/apfsprogs/Manifest @@ -0,0 +1,3 @@ +DIST apfsprogs-0_pre20240521.tar.gz 202087 BLAKE2B e0fabc489b8719522e2da3ce8ca1f3ed1f1d9bef7ea1b1935f09d250adba2e6369e9df84bed2e883846bd0eb152deed9de5ab801482817ac65538501627ca6ff SHA512 ad49350464abbdc6c0ca899135265fc6dffe96865d378e8c6105f17ec75e1f3bca2ddfc40ab2b838cd129357607aa33e92e12e30c82a6a1361a343844773d593 +EBUILD apfsprogs-0_pre20240521.ebuild 751 BLAKE2B 8d0b1ec4c8eaecbf34e1ea623527b29dbd8cd0865a2c86cc3138835a962f6a79b40308cd9a1edc5e2cdf4fb9b4fc4f8a0572a997a317df4279adc7919918562e SHA512 17a13b134cb58025fbe299417f0ec2f80ae759cfaaea31b2d507a4e913a39c28728c52bd941c6275d432e1dbe77473408ba6db5a629b485844be5e94b55eda77 +MISC metadata.xml 330 BLAKE2B d0acdebe9bff20f0dbb1fd142dbfb2c7f92c31a0bb627085fe983a19a58ce07d19bb9b0cb1305601b0f29dc32b75c50314fa72ec2a7864c4b42e7572f47f5e36 SHA512 9b1105879c319d5e02135e1b83e2452907edc071e1a281c6d18a375549f912961503642e3e33e94cae92344cde185d3663eb0a138cf37fffed83c70bb03af75e 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> |