Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[systester] new ebuild

  • Loading branch information...
commit 2ed401999b4ff440f3fda828e74687a3d3f728b3 1 parent 43e409d
Alex Alexander authored September 20, 2010
3  app-benchmarks/systester/Manifest
... ...
@@ -0,0 +1,3 @@
  1
+DIST systester-1.1.0-src.tar.bz2 119766 RMD160 0e48d9023f30bb8f556a0321f13c2111029da15c SHA1 7f65b525fa6172ec09992f050846cceac92e232d SHA256 0209e7717093084f1a70614c8834d2ba4f90076a4dd0a3ee1cb507b1cdbc5994
  2
+EBUILD systester-1.1.0.ebuild 844 RMD160 e97dce10a1b5ea9c9ae647f6b39b7ba6fe7f01be SHA1 ba0271fe66e97aa0330d3a21a3de0010cfd23c40 SHA256 334d66c06e91678bd8f238c41cfcd52ee400186e86fd76a0c9b9d48783cd9860
  3
+MISC metadata.xml 255 RMD160 55d76cb4c854b53723cb2e447f289f5c661dc389 SHA1 5a237e00dc1c7c8a2b4c565c3884b060b805927f SHA256 ad624d5a908e1afc5bbe5ae20dc33b31f218a6c648fc960e149d6d1aa0c4c9bd
10  app-benchmarks/systester/metadata.xml
... ...
@@ -0,0 +1,10 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
  3
+<pkgmetadata>
  4
+	<herd>no-herd</herd>
  5
+	<maintainer>
  6
+		<email>wired@gentoo.org</email>
  7
+		<name>Alex Alexander</name>
  8
+	</maintainer>
  9
+</pkgmetadata>
  10
+
45  app-benchmarks/systester/systester-1.1.0.ebuild
... ...
@@ -0,0 +1,45 @@
  1
+# Copyright 1999-2010 Gentoo Foundation
  2
+# Distributed under the terms of the GNU General Public License v2
  3
+# $Header: $
  4
+
  5
+EAPI=3
  6
+
  7
+DESCRIPTION="Test your system's stability and performance by calculating millions of digits of Pi."
  8
+HOMEPAGE="http://systester.sourceforge.net"
  9
+SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.bz2"
  10
+
  11
+LICENSE="GPL-2"
  12
+SLOT="0"
  13
+KEYWORDS="~amd64 ~x86"
  14
+IUSE="qt4"
  15
+
  16
+DEPEND="
  17
+	sys-libs/gpm
  18
+	qt4? ( x11-libs/qt-gui )
  19
+"
  20
+RDEPEND="${DEPEND}"
  21
+
  22
+S="${WORKDIR}"/"${P}"-src
  23
+
  24
+src_configure() {
  25
+	if use qt4; then
  26
+		econf || die "configure failed"
  27
+	fi
  28
+}
  29
+
  30
+src_compile() {
  31
+	if use qt4; then
  32
+		emake || die "build failed"
  33
+	fi
  34
+	cd cli
  35
+	emake || die "build failed"
  36
+}
  37
+
  38
+src_install() {
  39
+	if use qt4; then
  40
+		fperms 755 systester
  41
+		dobin systester || "dobin failed"
  42
+	fi
  43
+	fperms 755 cli/systester-cli
  44
+	dobin cli/systester-cli || "dobin failed"
  45
+}

0 notes on commit 2ed4019

Please sign in to comment.
Something went wrong with that request. Please try again.