blob: e29d93864d52d619638acc1bedb5ef3b489e2b0a (
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
46
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/golly/golly-2.4.ebuild,v 1.1 2012/06/18 22:38:11 xmw Exp $
EAPI=4
PYTHON_DEPEND=2
WX_GTK_VER=2.8
inherit python toolchain-funcs wxwidgets
MY_P=${P}-src
DESCRIPTION="simulator for Conway's Game of Life and other cellular automata"
HOMEPAGE="http://golly.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="dev-lang/perl
sys-libs/zlib
x11-libs/wxGTK:${WX_GTK_VER}[X]"
RDEPEND="${DEPEND}"
S=${WORKDIR}/${MY_P}
pkg_setup() {
python_set_active_version 2
python_pkg_setup
}
src_prepare() {
sed -e 's:-O2::' -i configure Makefile.{am,in} || die
}
src_configure() {
econf \
--with-perl-shlib="libperl.so" \
--with-python-shlib="$(python_get_library)"
}
src_install() {
emake docdir= DESTDIR="${D}" install
dodoc README TODO
}
|