diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2023-09-01 10:08:45 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2023-09-01 10:11:07 -0700 |
commit | 0963d6e6393c52e12191aa19f0e307ef9b8499b8 (patch) | |
tree | 726e0ea37779877d771f130052a90f4e991aee44 /sys-fs/mtd-utils | |
parent | dev-python/simpy: Stabilize 4.0.2 amd64, #913463 (diff) | |
download | gentoo-0963d6e6393c52e12191aa19f0e307ef9b8499b8.tar.gz gentoo-0963d6e6393c52e12191aa19f0e307ef9b8499b8.tar.bz2 gentoo-0963d6e6393c52e12191aa19f0e307ef9b8499b8.zip |
sys-fs/mtd-utils: bump
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'sys-fs/mtd-utils')
-rw-r--r-- | sys-fs/mtd-utils/Manifest | 1 | ||||
-rw-r--r-- | sys-fs/mtd-utils/mtd-utils-2.1.6.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/sys-fs/mtd-utils/Manifest b/sys-fs/mtd-utils/Manifest index 02452b41193b..0b207ac64f0d 100644 --- a/sys-fs/mtd-utils/Manifest +++ b/sys-fs/mtd-utils/Manifest @@ -1 +1,2 @@ DIST mtd-utils-2.1.5.tar.bz2 640309 BLAKE2B 94dfd37c10d2759c2fe0b2a7565e2a2aeafdfcaaba2ab9eddc5de2d77658f2702f25004609698585c170839f4e4b685e99004918f1e20cf1ced6925680215427 SHA512 625ee12baf38401c60f6c22d53ed649710417f8d03c6c2217cee890478954e22261428fbf11c713493fb6b7d452ed5af44b0dc9c58133f7b4f52e369353a62c3 +DIST mtd-utils-2.1.6.tar.bz2 458333 BLAKE2B 799c19fbee1a690fa695edfa7e2ab1691e37fccb3f83685065e93b5ceea96e550eecdba4576b7d1a58a1b0ce06e3e551ee635fe9ed16521952fc85986f74ae6f SHA512 470902475b9e583d3a12801c1cab5492c671ec3ccf853cc3336c4e2b8771eac489d67b1414b9f1e827c42ebdba0fe2cdc681297477d67a796af04d81160442bd diff --git a/sys-fs/mtd-utils/mtd-utils-2.1.6.ebuild b/sys-fs/mtd-utils/mtd-utils-2.1.6.ebuild new file mode 100644 index 000000000000..840f5928e349 --- /dev/null +++ b/sys-fs/mtd-utils/mtd-utils-2.1.6.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +DESCRIPTION="MTD userspace tools (NFTL, JFFS2, NAND, FTL, UBI)" +HOMEPAGE="https://git.infradead.org/?p=mtd-utils.git;a=summary" +SRC_URI="https://infraroot.at/pub/mtd/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" +IUSE="+lzo test xattr +zstd" +RESTRICT="!test? ( test )" + +DEPEND=" + sys-apps/util-linux:= + sys-libs/zlib:= + lzo? ( dev-libs/lzo:= ) + xattr? ( sys-apps/acl ) + zstd? ( app-arch/zstd:= ) +" +RDEPEND="${DEPEND}" +BDEPEND="test? ( dev-util/cmocka )" + +DOCS=( jffsX-utils/device_table.txt ubifs-utils/mkfs.ubifs/README ) + +PATCHES=( + #"${FILESDIR}"/${P}-glibc-2.36.patch +) + +src_prepare() { + default + sed -i '/if test.*then/s: == : = :' configure || die +} + +src_configure() { + # --enable-tests is for test programs that are installed + econf \ + --enable-tests \ + $(use_enable test unit-tests) \ + $(use_with lzo) \ + $(use_with xattr) \ + $(use_with zstd) +} + +src_install() { + default + doman \ + jffsX-utils/mkfs.jffs2.1 \ + ubi-utils/ubinize.8 +} |