1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 DESCRIPTION="configurable talking graphical cow (inspired by cowsay)"
7 HOMEPAGE="http://www.doof.me.uk/xcowsay/"
8 SRC_URI="http://www.nickg.me.uk/files/${P}.tar.gz"
15 RDEPEND="dbus? ( sys-apps/dbus )
17 fortune? ( games-misc/fortune-mod )
22 x11-libs/gdk-pixbuf:2"
27 econf $(use_enable dbus)
31 emake DESTDIR="${D}" install || die "emake failed"
32 if ! use fortune; then
33 rm -f "${D}"/usr/bin/xcowfortune