summaryrefslogtreecommitdiff
blob: 84e12873b7176f4b912d68dcbf6f83b9ccd4a3a8 (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-misc/xcowsay/xcowsay-1.2.ebuild,v 1.2 2010/08/26 21:30:02 hwoarang Exp $

EAPI="2"

inherit base autotools

DESCRIPTION="configurable talking graphical cow (inspired by cowsay)"
HOMEPAGE="http://www.doof.me.uk/xcowsay/"
SRC_URI="http://www.nickg.me.uk/files/${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="dbus"

RDEPEND="dbus? ( sys-apps/dbus )
	dev-libs/dbus-glib
	games-misc/fortune-mod
	media-libs/freetype:2
	media-libs/libpng
	x11-libs/pango"
DEPEND="${RDEPEND}
	dev-util/pkgconfig"

src_prepare() {
	epatch "${FILESDIR}"/${P}-no-dbus.patch
	eautoreconf
}

src_configure() {
	econf $(use_enable dbus)
}