blob: 917565f0a7df282537a60d9a6a24706eebd36b3a (
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
39
40
41
42
43
44
|
# Copyright 1999-2004 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.2 2004/02/29 10:26:47 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
}
|