| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/gtkperf/gtkperf-0.40.ebuild,v 1.3 2008/11/11 14:55:03 pvdabeel Exp $
|
| 4 |
|
| 5 |
EAPI="1"
|
| 6 |
|
| 7 |
MY_P="${PN}_${PV}"
|
| 8 |
DESCRIPTION="Application designed to test GTK+ performance"
|
| 9 |
HOMEPAGE="http://gtkperf.sourceforge.net/"
|
| 10 |
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
|
| 11 |
|
| 12 |
LICENSE="GPL-2"
|
| 13 |
SLOT="0"
|
| 14 |
KEYWORDS="~amd64 ~ppc ~x86"
|
| 15 |
IUSE="nls"
|
| 16 |
|
| 17 |
RDEPEND="x11-libs/gtk+:2"
|
| 18 |
DEPEND="${RDEPEND}
|
| 19 |
nls? ( sys-devel/gettext )
|
| 20 |
virtual/pkgconfig"
|
| 21 |
|
| 22 |
S="${WORKDIR}/${PN}"
|
| 23 |
|
| 24 |
src_compile() {
|
| 25 |
econf "$(use_enable nls)"
|
| 26 |
emake || die "emake failed"
|
| 27 |
}
|
| 28 |
|
| 29 |
src_install() {
|
| 30 |
emake DESTDIR="${D}" install || die "emake install failed"
|
| 31 |
rm -rf "${D}/usr/doc"
|
| 32 |
dodoc AUTHORS ChangeLog README TODO
|
| 33 |
}
|