summaryrefslogtreecommitdiff
blob: 2d92934827f9a557f981365ecf4ea405838cc646 (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/read-edid/read-edid-2.0.0-r1.ebuild,v 1.1 2010/06/05 09:56:10 hwoarang Exp $

DESCRIPTION="Program that can get information from a PnP monitor"
HOMEPAGE="http://www.polypux.org/projects/read-edid/"
SRC_URI="http://www.polypux.org/projects/${PN}/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
IUSE=""
DEPEND=">=dev-libs/libx86-1.1"
RDEPEND="$DEPEND"

src_compile() {
	econf --mandir=/usr/share/man || die "configure failed"
	emake || die "make failed"
}

src_install() {
	emake DESTDIR="${D}" install || die "emake install failed"
	# as per bug #283322
	dobin parse-edid || die "failed to install parse-edid binary"
	rm "${D}"/usr/sbin/parse-edid
	dodoc AUTHORS ChangeLog NEWS README
}