aboutsummaryrefslogtreecommitdiff
blob: 3169df46cbbd4bfdb0f1525531b8cd62b838553b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: /home/menelkir/portage/app-benchmark/hardinfo/hardinfo-9999.ebuild,v 1.440 2010/05/31 10:20:14 menelkir Exp $

inherit git

EGIT_REPO_URI="git://github.com/lpereira/hardinfo.git"

DESCRIPTION="HardInfo can gather information about your system's hardware and operating system, perform benchmarks, and generate printable reports"
HOMEPAGE="http://hardinfo.berlios.de/HomePage"
SRC_URI=""

LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE=""

RDEPEND=">=x11-libs/gtk+-2.0
	net-libs/libsoup"
DEPEND="${RDEPEND}"

S=${WORKDIR}/${PN}2

# Can't compile with -O, need filter-flags and we don't have time (;
src_unpack() {
	subversion_src_unpack
	cd ${S}
	mv ${PN}2/* ./
#	sed -i \
#		-e "s|-fPIC -pipe -Wall -g|-fPIC ${CFLAGS}|" \
#		Makefile.in || die "sed"
}

src_compile() {
	econf || die "econf"
	emake || die "emake"
}

src_install() {
	emake DESTDIR=${D} install || die "einstall"
}