summaryrefslogtreecommitdiff
blob: 0c59448a03eaad311f2b00774ba2c1e83f8a73e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5
inherit cmake-utils

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"

DEPEND=">=dev-libs/libx86-1.1"
RDEPEND="$DEPEND"

src_prepare() {
	sed -i -e 's|COPYING||g;s|share/doc/read-edid|&-'"${PV}"'|g' \
		CMakeLists.txt || die
	cmake-utils_src_prepare
}