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

inherit toolchain-funcs

DESCRIPTION="A system-wide notification wrapper for notify-send"
HOMEPAGE="http://qwpx.net/~mgorny/sw-notify-send/"
SRC_URI="http://qwpx.net/~mgorny/${PN}/${P}.c.bz2"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

DEPEND="sys-process/procps"
RDEPEND="${DEPEND}"

# The lack of x11-libs/libnotify RDEPEND is intentional. The tool supports
# calling 'notify-send' from within a chroot running libnotify-enabled system
# where the host system is libnotify-free. Not to mention that running
# a libnotify notification daemon implies having libnotify installed.

src_compile() {
	tc-export CC
	emake LDLIBS=-lproc ${P} || die
}

src_install() {
	newbin ${P} ${PN} || die
}