| 1 |
# Copyright 1999-2012 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd-ui/dhcpcd-ui-0.5.1.ebuild,v 1.2 2011/02/05 16:34:01 ssuominen Exp $ |
| 4 |
|
| 5 |
EAPI=4 |
| 6 |
|
| 7 |
DESCRIPTION="Desktop notification and configuration for dhcpcd" |
| 8 |
HOMEPAGE="http://roy.marples.name/projects/dhcpcd-ui/" |
| 9 |
SRC_URI="http://roy.marples.name/downloads/dhcpcd/${P}.tar.bz2" |
| 10 |
|
| 11 |
LICENSE="BSD-2" |
| 12 |
SLOT="0" |
| 13 |
KEYWORDS="~amd64 ~x86" |
| 14 |
IUSE="startup-notification" |
| 15 |
|
| 16 |
DEPEND="sys-apps/dbus |
| 17 |
x11-libs/gtk+:2 |
| 18 |
x11-libs/gdk-pixbuf |
| 19 |
dev-libs/glib:2 |
| 20 |
startup-notification? ( >=x11-libs/libnotify-0.4.4 )" |
| 21 |
RDEPEND="${DEPEND} |
| 22 |
net-libs/dhcpcd-dbus |
| 23 |
x11-themes/hicolor-icon-theme" |
| 24 |
|
| 25 |
src_configure() { |
| 26 |
# Only GTK+ UI supported atm |
| 27 |
econf --with-gtk \ |
| 28 |
$(use_enable startup-notification notification) |
| 29 |
} |