| 1 |
# Copyright 1999-2010 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellm-bluez/gkrellm-bluez-0.2-r1.ebuild,v 1.7 2010/02/02 08:27:42 pacho Exp $
|
| 4 |
|
| 5 |
inherit gkrellm-plugin
|
| 6 |
|
| 7 |
DESCRIPTION="GKrellm plugin for monitoring bluetooth (Linux BlueZ) adapters"
|
| 8 |
SRC_URI="mirror://sourceforge/gkrellm-bluez/${P}.tar.gz"
|
| 9 |
HOMEPAGE="http://gkrellm-bluez.sourceforge.net"
|
| 10 |
|
| 11 |
RDEPEND="net-wireless/bluez"
|
| 12 |
|
| 13 |
LICENSE="GPL-2"
|
| 14 |
KEYWORDS="amd64 x86"
|
| 15 |
IUSE=""
|
| 16 |
SLOT="0"
|
| 17 |
|
| 18 |
PLUGIN_SO="src/.libs/gkrellmbluez.so"
|
| 19 |
PLUGIN_DOCS="THEMING NEWS"
|
| 20 |
|
| 21 |
src_unpack() {
|
| 22 |
unpack ${A}
|
| 23 |
cd "${S}"
|
| 24 |
|
| 25 |
# Be a bit more future proof, bug #260948
|
| 26 |
sed "s/-Werror//" -i src/Makefile.am src/Makefile.in || die "sed failed"
|
| 27 |
|
| 28 |
epatch "${FILESDIR}"/${P}-notheme.patch || die "Patch failed"
|
| 29 |
}
|
| 30 |
|
| 31 |
src_compile() {
|
| 32 |
econf --disable-static || die "Config failed"
|
| 33 |
emake || die "Make failed"
|
| 34 |
}
|