summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-10-02 05:18:37 +0000
committerMike Frysinger <vapier@gentoo.org>2003-10-02 05:18:37 +0000
commit70993799b4bb71203cfaa61af563c3bc4c7ccd5a (patch)
treeba8d1d26f64b1b3b349e563457a5124c69f68235 /games-board/teg/teg-0.11.0-r1.ebuild
parentnew ver #30020 (diff)
downloadgentoo-2-70993799b4bb71203cfaa61af563c3bc4c7ccd5a.tar.gz
gentoo-2-70993799b4bb71203cfaa61af563c3bc4c7ccd5a.tar.bz2
gentoo-2-70993799b4bb71203cfaa61af563c3bc4c7ccd5a.zip
fix install locations
Diffstat (limited to 'games-board/teg/teg-0.11.0-r1.ebuild')
-rw-r--r--games-board/teg/teg-0.11.0-r1.ebuild44
1 files changed, 44 insertions, 0 deletions
diff --git a/games-board/teg/teg-0.11.0-r1.ebuild b/games-board/teg/teg-0.11.0-r1.ebuild
new file mode 100644
index 000000000000..2a89f35e6057
--- /dev/null
+++ b/games-board/teg/teg-0.11.0-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/teg/teg-0.11.0-r1.ebuild,v 1.1 2003/10/02 05:18:37 vapier Exp $
+
+inherit games gnome2
+
+DESCRIPTION="Gnome Risk Clone"
+HOMEPAGE="http://teg.sourceforge.net/"
+SRC_URI="mirror://sourceforge/teg/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 sparc"
+
+DEPEND="virtual/glibc
+ virtual/x11
+ dev-libs/glib
+ gnome-base/libgnomeui
+ gnome-base/libgnome
+ readline? ( sys-libs/readline )"
+RDEPEND="${DEPEND}
+ nls? ( sys-devel/gettext )"
+
+src_compile() {
+ econf \
+ `use_enable nls` \
+ --bindir=${GAMES_BINDIR} \
+ || die
+ emake || die
+}
+
+src_install() {
+ export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1"
+ make \
+ DESTDIR=${D} install \
+ " sScrollkeeper_localstate_dir=${D}/var/lib/scrollkeeper/ ${1}"\
+ || die
+ unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ gnome2_gconf_install
+}