summaryrefslogtreecommitdiff
blob: 03e5981745c3947a31736de6d2469cb730cca83a (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# /space/gentoo/cvsroot/gentoo-x86/media-video/nvclock/nvclock-0.4.2.ebuild,v 1.3 2002/05/23 06:50:14 seemant Exp

S=${WORKDIR}/${PN}${PV}
SRC_URI="http://www.evil3d.net/download/${PN}/${PN}${PV}.tar.gz"
DESCRIPTION="NVIDIA overclocking utility"
HOMEPAGE="http://www.evil3d.net/products/nvclock/"
LICENSE="GPL-2"

RDEPEND="virtual/glibc
	gtk? ( virtual/x11 =x11-libs/gtk+-1.2* )
	qt? ( virtual/x11 x11-libs/qt )"
DEPEND="$RDEPEND sys-devel/autoconf"
SLOT=0

src_compile() {
	local myconf
	use gtk && myconf="--enable-gtk"
	use qt && myconf="$myconf --enable-qt"
	autoconf
	./configure --host=${CHOST} --prefix=/usr --mandir=/usr/share/man ${myconf} || die
	emake || die
}

src_install() {
	make prefix=${D} install	
	dodoc AUTHORS COPYING README	
}