blob: d454c4bedc31c9375cec1cafcd5a2c844278c1a7 (
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
45
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-puzzle/londonlaw/londonlaw-0.2.0.ebuild,v 1.2 2005/06/10 15:38:14 dholm Exp $
inherit python games
DESCRIPTION="Clone of the famous Scotland Yard board game"
HOMEPAGE="http://www.eecs.umich.edu/~pelzlpj/londonlaw/"
SRC_URI="http://www.eecs.umich.edu/~pelzlpj/londonlaw/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~ppc x86"
IUSE=""
DEPEND=">=dev-lang/python-2.3
>=dev-python/wxpython-2.4
dev-python/twisted"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-setup.py.patch"
}
src_install() {
python_version
python setup.py install \
--root="${D}" \
--prefix="${GAMES_PREFIX}" \
--install-lib=/usr/lib/python${PYVER}/site-packages \
--install-data="${GAMES_DATADIR}" \
|| die "install failed"
dodoc ChangeLog README
prepgamesdirs
}
pkg_postinst() {
games_pkg_postinst
echo
einfo "To play, first start the server (london-server), then connect"
einfo "with the client (london-client). At least two players are"
einfo "needed to play."
echo
}
|