summaryrefslogtreecommitdiff
blob: acfadb4bfb6c3f411196c939f17ab190d2d42256 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils toolchain-funcs

DESCRIPTION="GUI to edit XServer-file xorg.conf easily"
HOMEPAGE="http://www.cyskat.de/dee/progxorg.htm"
SRC_URI="mirror://sourceforge/xorg-edit/${PN}_${PV}_src.tar.gz"

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

DEPEND=">=x11-libs/wxGTK-2.6"
RDEPEND="${DEPEND}"

S="${WORKDIR}/${PN}"

src_unpack() {
	unpack ${A}
	cd "${S}"
	epatch "${FILESDIR}/${P}-makefile.patch"
}

src_compile() {
	cd sources
	emake CXX=$(tc-getCXX) || die "emake failed"
}

src_install() {
	dobin sources/xorg-edit
	dodoc changelog.txt readme.txt
}