summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorJakov Smolić <jsmolic@gentoo.org>2022-09-05 17:18:14 +0200
committerJakov Smolić <jsmolic@gentoo.org>2022-09-05 17:18:14 +0200
commit9ffff67b78f9ba07e9337c4b399d2524ff0b87c0 (patch)
tree9d394b8df2e1f487e1be9fe45745ec6b91f3d572 /sys-fs
parentdev-lang/python: Stabilize 3.8.13_p8 ppc64, #868555 (diff)
downloadgentoo-9ffff67b78f9ba07e9337c4b399d2524ff0b87c0.tar.gz
gentoo-9ffff67b78f9ba07e9337c4b399d2524ff0b87c0.tar.bz2
gentoo-9ffff67b78f9ba07e9337c4b399d2524ff0b87c0.zip
sys-fs/genimage: add 16
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/genimage/Manifest1
-rw-r--r--sys-fs/genimage/genimage-16.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/sys-fs/genimage/Manifest b/sys-fs/genimage/Manifest
index dd18d7329762..237f16ad8637 100644
--- a/sys-fs/genimage/Manifest
+++ b/sys-fs/genimage/Manifest
@@ -1 +1,2 @@
DIST genimage-15.tar.gz 82983 BLAKE2B d5827a0c9221fb8bb55f8af6cd4bce0c59ee864895577df277bbfa73fff64074265c687d9c7bcabbf6f8cb7658e48dfdc299130136446688903ed1cedc980214 SHA512 dd63872e8a41872e9af2b87efd604f0a9d6946e6ebbc323a0e81052efd6a9668f9ffe77f068c84e38fb27cb1e00bd63e9b2cdebf9526b4bc6c9e0f7e344762a7
+DIST genimage-16.tar.gz 87544 BLAKE2B 822c1b5901ed3fa19e33961e6e9e718f961d6c0a2315dcb4301aea3cccad6368a03d48ab5b5713592bdd096e78e7d24c03e8016a1470c7864ace71e3341b16a4 SHA512 7cb079d6ae889a744e2a3596b0eac737f7fdf1734c2024c71bb5ff85b93bff1d8ec26d61ee5b210aad4f0f9137968a6e256492c8c8376bafe2c5da2d12985a73
diff --git a/sys-fs/genimage/genimage-16.ebuild b/sys-fs/genimage/genimage-16.ebuild
new file mode 100644
index 000000000000..4a0e18372d87
--- /dev/null
+++ b/sys-fs/genimage/genimage-16.ebuild
@@ -0,0 +1,42 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools optfeature
+
+if [[ ${PV} == *9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/pengutronix/genimage.git"
+else
+ SRC_URI="https://github.com/pengutronix/genimage/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+fi
+
+DESCRIPTION="Tool to generate multiple filesystem and flash images from a tree"
+HOMEPAGE="https://github.com/pengutronix/genimage"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="dev-libs/confuse:="
+RDEPEND="${DEPEND}"
+BDEPEND="test? ( sys-apps/fakeroot )"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+pkg_postinst() {
+ optfeature "cpio support" app-arch/cpio
+ optfeature "tar support" app-arch/tar
+ optfeature "qemu support" app-emulation/qemu
+ optfeature "dosfstools support" sys-fs/dosfstools
+ optfeature "cramfs support" sys-fs/cramfs
+ optfeature "genext2fs support" sys-fs/genext2fs
+ optfeature "jffs, ubifs and ubinize support" sys-fs/mtd-utils
+ optfeature "squashfs support" sys-fs/squashfs-tools
+}