summaryrefslogtreecommitdiff
blob: b8e7628148fd13e989d76f5cd1ffbc74560755a8 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/sisctrl/sisctrl-0.0.20051202.ebuild,v 1.1 2006/11/15 20:13:27 nelchael Exp $

inherit eutils

DESCRIPTION="tool that allows you to tune SiS drivers from X"
HOMEPAGE="http://www.winischhofer.net/linuxsis630.shtml"
SRC_URI="http://www.winischhofer.net/sis/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND=">=dev-libs/glib-2.0
	 >=x11-libs/gtk+-2.0
	 x11-libs/libXrender
	 x11-libs/libXv
	 x11-libs/libXxf86vm
	 x11-proto/xf86vidmodeproto"
DEPEND="dev-util/pkgconfig
	${RDEPEND}"

src_unpack() {

	unpack ${A}
	cd "${S}"

	epatch "${FILESDIR}"/${P}-no-xv.patch
	sed -i 's,/X11R6,,g' configure

}

src_install() {
	make install DESTDIR="${D}" || die "install failed"
	dodoc AUTHORS ChangeLog NEWS README
}