summaryrefslogtreecommitdiff
blob: 61f8700fcfa8da99461b2064d3e017ce4354c42e (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
35
36
37
38
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="2"

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"

inherit eutils

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

RDEPEND="dbus? ( sys-apps/dbus )
	games-misc/fortune-mod"
DEPEND="${RDEPEND}
	dev-util/pkgconfig"

src_configure() {
	myconf="${myconf} $(use_enable dbus)"
	econf ${myconf}
}

src_install() {
	emake DESTDIR="${D}" install || die "installation failed"
}

pgk_postinst() {
ewarn
ewarn "Please do not report bugs on Gentoo bugzilla"
ewarn
ewarn "Bugs report: hwoarang@gentoo.org"
ewarn
}