summaryrefslogtreecommitdiff
blob: 9fb5cd25440bc0709811b9e52562d17f3c19bfc4 (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-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=4

WX_GTK_VER="2.8"

inherit base multilib toolchain-funcs wxwidgets

DESCRIPTION="GUI to edit XServer-file xorg.conf easily"
HOMEPAGE="http://www.deesaster.org/progxorg.php"
SRC_URI="mirror://sourceforge/${PN}/${P}_src.tar.bz2"

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

DEPEND="x11-libs/wxGTK:2.8[X]"
RDEPEND=${DEPEND}

PATCHES=(
	"${FILESDIR}"/${P}-makefile.patch
)

src_compile() {
	emake CXX=$(tc-getCXX)
}

src_install() {
	emake DESTDIR="${D}" INSTALLPATH="/usr/$(get_libdir)" install
	dodoc CHANGELOG README
}