diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-08-24 14:48:07 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-08-24 14:48:07 +0100 |
commit | be21a4c281fc76681a84dd2f103e850866ce4946 (patch) | |
tree | 20d33088fd6665896367d97ee3c48a227cfe97d6 /sys-fs/genimage/genimage-9999.ebuild | |
parent | 7405d8a728a9553d7b8eccb67737c5193c9f13ba (diff) |
gentoo auto-resync : 24:08:2022 - 14:48:06
Diffstat (limited to 'sys-fs/genimage/genimage-9999.ebuild')
-rw-r--r-- | sys-fs/genimage/genimage-9999.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/sys-fs/genimage/genimage-9999.ebuild b/sys-fs/genimage/genimage-9999.ebuild new file mode 100644 index 000000000000..4a0e18372d87 --- /dev/null +++ b/sys-fs/genimage/genimage-9999.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 +} |