aboutsummaryrefslogtreecommitdiff
blob: 6d368dd2789af57af5128fcfb5cf626c7bafeb5f (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
40
41
42
43
44
45
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="4"

EGIT_REPO_URI="git://code.stapelberg.de/i3status"

inherit base multilib git-2

DESCRIPTION="Generates status bar to use with dzen2 or xmobar"
HOMEPAGE="http://i3.zekjur.net/i3status/"
SRC_URI=""

LICENSE="BSD"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="+man"

RDEPEND="
	dev-libs/confuse
	net-wireless/wireless-tools
	media-libs/alsa-lib
	"
DEPEND="${RDEPEND}
	man? (
		>=app-text/asciidoc-8.3
		app-text/xmlto
	)
	"
src_prepare() {
	sed -i \
		'\|/usr/share/man/|d' \
		Makefile
}

src_compile() {
	emake ${PN}
	use man && emake -C man
}

src_install() {
	emake DESTDIR="${D}" install
	use man && doman man/*.1
}