summaryrefslogtreecommitdiff
blob: 8a4d141bd3f2e3d6acf362e532fdfc45e4b7e733 (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
37
38
39
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="2"

inherit eutils gnome2

DESCRIPTION="A graphical tool for changing the Bashs behaviour"
HOMEPAGE="http://www.nanolx.org/"
SRC_URI="http://download.tuxfamily.org/bashstyleng/${P}.tar.bz2"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="acpi dmi doc pci pdf usb"

DEPEND="x11-libs/vte[python]
	sys-devel/gettext
	acpi? ( sys-power/acpi )
	dmi? ( sys-apps/dmidecode )
	pci? ( sys-apps/pciutils )
	pdf? ( app-text/ghostscript-gpl )
	usb? ( sys-apps/usbutils )"
RDEPEND="${DEPEND}"

DOCS="AUTHORS ChangeLog README TODO"

src_prepare() {
	epatch "${FILESDIR}/${P}.patch"
}

src_install() {
	if use doc; then
		dohtml documentation/* || die "documentation installation failed"
	fi
	gnome2_src_install
}