diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /games-misc/xcowsay/xcowsay-1.3.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-misc/xcowsay/xcowsay-1.3.ebuild')
-rw-r--r-- | games-misc/xcowsay/xcowsay-1.3.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/games-misc/xcowsay/xcowsay-1.3.ebuild b/games-misc/xcowsay/xcowsay-1.3.ebuild new file mode 100644 index 000000000000..84cdb4184731 --- /dev/null +++ b/games-misc/xcowsay/xcowsay-1.3.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="dbus fortune" + +RDEPEND="dbus? ( sys-apps/dbus ) + dev-libs/dbus-glib + fortune? ( games-misc/fortune-mod ) + media-libs/freetype:2 + media-libs/libpng + x11-libs/pango + x11-libs/gtk+:2 + x11-libs/gdk-pixbuf:2" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_configure() { + econf $(use_enable dbus) +} + +src_install() { + emake DESTDIR="${D}" install || die "emake failed" + if ! use fortune; then + rm -f "${D}"/usr/bin/xcowfortune + fi +} |