bonnie-2.0.6.ebuild 684 B

1234567891011121314151617181920212223242526272829303132333435
  1. # Copyright 1999-2014 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. inherit eutils
  4. DESCRIPTION="Performance Test of Filesystem I/O using standard C library calls"
  5. HOMEPAGE="http://www.textuality.com/bonnie/"
  6. SRC_URI="http://www.textuality.com/bonnie/bonnie.tar.gz"
  7. LICENSE="bonnie"
  8. SLOT="0"
  9. KEYWORDS="alpha amd64 ia64 ~mips ppc ppc64 sparc x86"
  10. IUSE=""
  11. DEPEND=""
  12. RDEPEND=""
  13. S=${WORKDIR}
  14. src_unpack() {
  15. unpack ${A} || die
  16. epatch "${FILESDIR}"/bonnie_man.patch
  17. epatch "${FILESDIR}"/Makefile.patch
  18. }
  19. src_compile() {
  20. make SYSFLAGS="${CFLAGS}" || die
  21. mv Bonnie bonnie
  22. }
  23. src_install() {
  24. doman bonnie.1
  25. dodoc Instructions
  26. dobin bonnie
  27. }