Permalink
Browse files

[systester] new ebuild

  • Loading branch information...
1 parent 43e409d commit 2ed401999b4ff440f3fda828e74687a3d3f728b3 @wired committed Sep 20, 2010
@@ -0,0 +1,3 @@
+DIST systester-1.1.0-src.tar.bz2 119766 RMD160 0e48d9023f30bb8f556a0321f13c2111029da15c SHA1 7f65b525fa6172ec09992f050846cceac92e232d SHA256 0209e7717093084f1a70614c8834d2ba4f90076a4dd0a3ee1cb507b1cdbc5994
+EBUILD systester-1.1.0.ebuild 844 RMD160 e97dce10a1b5ea9c9ae647f6b39b7ba6fe7f01be SHA1 ba0271fe66e97aa0330d3a21a3de0010cfd23c40 SHA256 334d66c06e91678bd8f238c41cfcd52ee400186e86fd76a0c9b9d48783cd9860
+MISC metadata.xml 255 RMD160 55d76cb4c854b53723cb2e447f289f5c661dc389 SHA1 5a237e00dc1c7c8a2b4c565c3884b060b805927f SHA256 ad624d5a908e1afc5bbe5ae20dc33b31f218a6c648fc960e149d6d1aa0c4c9bd
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>wired@gentoo.org</email>
+ <name>Alex Alexander</name>
+ </maintainer>
+</pkgmetadata>
+
@@ -0,0 +1,45 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=3
+
+DESCRIPTION="Test your system's stability and performance by calculating millions of digits of Pi."
+HOMEPAGE="http://systester.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="qt4"
+
+DEPEND="
+ sys-libs/gpm
+ qt4? ( x11-libs/qt-gui )
+"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"/"${P}"-src
+
+src_configure() {
+ if use qt4; then
+ econf || die "configure failed"
+ fi
+}
+
+src_compile() {
+ if use qt4; then
+ emake || die "build failed"
+ fi
+ cd cli
+ emake || die "build failed"
+}
+
+src_install() {
+ if use qt4; then
+ fperms 755 systester
+ dobin systester || "dobin failed"
+ fi
+ fperms 755 cli/systester-cli
+ dobin cli/systester-cli || "dobin failed"
+}

0 comments on commit 2ed4019

Please sign in to comment.