diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-benchmarks/dbench | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-benchmarks/dbench')
-rw-r--r-- | app-benchmarks/dbench/Manifest | 3 | ||||
-rw-r--r-- | app-benchmarks/dbench/dbench-4.0.ebuild | 42 | ||||
-rw-r--r-- | app-benchmarks/dbench/metadata.xml | 8 |
3 files changed, 53 insertions, 0 deletions
diff --git a/app-benchmarks/dbench/Manifest b/app-benchmarks/dbench/Manifest new file mode 100644 index 000000000000..a21ee57a74ae --- /dev/null +++ b/app-benchmarks/dbench/Manifest @@ -0,0 +1,3 @@ +DIST dbench-4.0.tar.gz 2055359 BLAKE2B 20715b17472d0c6daaf1848873e33266272846447a207508c6801058ba91a38fe56045d8f6867df5814e7836e99cbd2675aad70a49021b04a3797e1231e20543 SHA512 70c65c5b079edf745c267be753919c780153c9064dbda95c270b3c2c1d8c16e84fab4e743eb777436813678ecff13ec2b55d011e8acc4bd83e58f0dda7438e7f +EBUILD dbench-4.0.ebuild 852 BLAKE2B 2665c9ef680768e3e075917983d31df42ff064af306dc6c485db53b6ddfec1439ba06b005db7a764b9d18e837bf98341cf9567860e9603df940e0b79730b6349 SHA512 95fedbebe76978bb61f55e879f5a1a8790b83203e840db63a67eb61f7505abe77b0321f8df8076e2dc8af819fbd162af3b718d1a5c9326f2fea01baeb7d0a381 +MISC metadata.xml 247 BLAKE2B 5a20af3c9732ef7dba68131a08988652f5c93a6d186a82c4deb1bb9c06dc3ae73152a0d241cc346637f7b11caf4676da43301ba596c67b66669535e71db0b03e SHA512 29cf52c16b0cce69899d9c2da8acd9144b7d760442aa323b854dceadb42459e009545193b1df7911ac2241b59f4819b4a6bb1d206d6f57953f770031433bb6b7 diff --git a/app-benchmarks/dbench/dbench-4.0.ebuild b/app-benchmarks/dbench/dbench-4.0.ebuild new file mode 100644 index 000000000000..4ce16456fdef --- /dev/null +++ b/app-benchmarks/dbench/dbench-4.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils autotools + +DESCRIPTION="Popular filesystem benchmark" +SRC_URI="https://www.samba.org/ftp/pub/tridge/dbench/${P}.tar.gz" +HOMEPAGE="https://www.samba.org/ftp/tridge/dbench/" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="amd64 ~arm ~arm64 hppa ppc ppc64 sparc x86" +IUSE="" + +DEPEND="dev-libs/popt" +RDEPEND="${DEPEND}" + +src_prepare() { + eautoheader + eautoconf + sed -i -e \ + "s:\$(CC) -o:\$(CC) \$(LDFLAGS) -o:" \ + Makefile.in || die + eautoreconf +} + +src_compile() { + emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" +} + +src_install() { + dobin dbench tbench tbench_srv + dodoc README INSTALL + doman dbench.1 + insinto /usr/share/dbench + doins client.txt +} + +pkg_postinst() { + elog "You can find the client.txt file in ${ROOT}usr/share/dbench." +} diff --git a/app-benchmarks/dbench/metadata.xml b/app-benchmarks/dbench/metadata.xml new file mode 100644 index 000000000000..40aa45df2b01 --- /dev/null +++ b/app-benchmarks/dbench/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>patrick@gentoo.org</email> + <name>Patrick Lauer</name> + </maintainer> +</pkgmetadata> |