summaryrefslogtreecommitdiff
blob: 39801518e592f9ffb74ee2ce1aad7a60f74e1259 (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
36
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/fluxconf/fluxconf-0.9.9.ebuild,v 1.2 2007/07/20 12:14:03 drac Exp $

WANT_AUTOMAKE="1.7"

inherit autotools eutils

DESCRIPTION="Configuration editor for fluxbox"
SRC_URI="http://devaux.fabien.free.fr/flux/${P}.tar.gz"
HOMEPAGE="http://devaux.fabien.free.fr/flux/"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="nls"

RDEPEND=">=x11-libs/gtk+-2"
DEPEND="${RDEPEND}"

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

src_compile() {
	econf $(use_enable nls)
	emake || die "emake failed."
}

src_install () {
	einstall || die "einstall failed."
	dodoc AUTHORS ChangeLog NEWS README TODO
}