app-misc/test-merge-few-large - 2 (flow)

Search

Install

Install this version:

emerge -a =app-misc/test-merge-few-large-2

Package Information

Description:
Test ebuild with a few large files, to benchmark merging
Homepage:
https://wiki.gentoo.org/wiki/No_homepage
License:
GPL-3

Ebuild Details

Version EAPI Keywords Slot
2 8 amd64 0
View Raw Ebuild
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="Test ebuild with a few large files, to benchmark merging"
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
S="${WORKDIR}"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64"
RESTRICT="binchecks strip"

src_install() {
	local destdir="${ED}/usr/share/${PN}"
	local i

	# 16 files of 128 MiB of random content.
	mkdir -p "${destdir}" || die
	for (( i = 0; i < 16; i++ )); do
		head -c 128M /dev/urandom > "${destdir}/${i}" || die
	done
}