summaryrefslogtreecommitdiff
blob: 549e64d6a0b310e90088fd55e56fd06ee695bbbd (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/i855crt/i855crt-0.4-r1.ebuild,v 1.1 2006/09/20 14:56:14 blubb Exp $

inherit eutils

DESCRIPTION="Intel Montara 855GM CRT out auxiliary driver"
HOMEPAGE="http://i855crt.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"

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

DEPEND="x11-libs/libXext
		x11-libs/libXv"
RDEPEND="${DEPEND}"

src_unpack() {
	unpack ${A}
	cd ${S}

	epatch ${FILESDIR}/${PN}-i915support.diff || die "failed to apply patch"

	# upstream ships it with the binary, we want to make sure we compile it
	make clean || die "make clean failed"
}

src_install() {
	dobin i855crt
	insinto /etc
	doins i855crt.conf
}