diff options
Diffstat (limited to 'games-board/gnocatan/gnocatan-0.8.1.48.ebuild')
-rw-r--r-- | games-board/gnocatan/gnocatan-0.8.1.48.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/games-board/gnocatan/gnocatan-0.8.1.48.ebuild b/games-board/gnocatan/gnocatan-0.8.1.48.ebuild new file mode 100644 index 000000000000..f03dd183698c --- /dev/null +++ b/games-board/gnocatan/gnocatan-0.8.1.48.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-board/gnocatan/gnocatan-0.8.1.48.ebuild,v 1.1 2005/01/10 02:01:48 rizzo Exp $ + +inherit eutils gnome2 debug + +DESCRIPTION="A clone of the popular board game The Settlers of Catan" +HOMEPAGE="http://gnocatan.sourceforge.net/" +SRC_URI="mirror://sourceforge/gnocatan/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~amd64" +IUSE="nls debug X" + +RDEPEND="dev-libs/glib + dev-util/pkgconfig + X? ( >=gnome-base/libgnomeui-2.6.1.1 + >=app-text/scrollkeeper-0.3* )" + +src_compile() { + export G2CONF="${G2CONF} `use_enable nls`" + export G2CONF="${G2CONF} `use_enable debug`" + + if use X ; then + gnome2_src_compile + else + einfo + einfo "Only building console server" + einfo + + econf ${G2CONF} || die "./configure failure" + emake || die "emake failed" + fi +} + +src_install() { + DOCS="AUTHORS ChangeLog README COPYING INSTALL TODO NEWS" + if use X ; then + gnome2_src_install + else + make DESTDIR=${D} install + dodoc ${DOCS} + fi +} |