/[gentoo-x86]/app-misc/golly/golly-2.4.ebuild
Gentoo

Contents of /app-misc/golly/golly-2.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Dec 26 18:16:45 2012 UTC (5 years ago) by jdhore
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
marked x86 per bug 447700

(Portage version: 2.2.0_alpha149/cvs/Linux i686, signed Manifest commit with key 23E9E900)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-misc/golly/golly-2.4.ebuild,v 1.2 2012/12/19 14:30:23 ago Exp $
4
5 EAPI=4
6 PYTHON_DEPEND=2
7 WX_GTK_VER=2.8
8
9 inherit python toolchain-funcs wxwidgets
10
11 MY_P=${P}-src
12 DESCRIPTION="simulator for Conway's Game of Life and other cellular automata"
13 HOMEPAGE="http://golly.sourceforge.net/"
14 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
15
16 LICENSE="GPL-2"
17 SLOT="0"
18 KEYWORDS="amd64 x86"
19 IUSE=""
20
21 DEPEND="dev-lang/perl
22 sys-libs/zlib
23 x11-libs/wxGTK:${WX_GTK_VER}[X]"
24 RDEPEND="${DEPEND}"
25
26 S=${WORKDIR}/${MY_P}
27
28 pkg_setup() {
29 python_set_active_version 2
30 python_pkg_setup
31 }
32
33 src_prepare() {
34 sed -e 's:-O2::' -i configure Makefile.{am,in} || die
35 }
36
37 src_configure() {
38 econf \
39 --with-perl-shlib="libperl.so" \
40 --with-python-shlib="$(python_get_library)"
41 }
42
43 src_install() {
44 emake docdir= DESTDIR="${D}" install
45 dodoc README TODO
46 }

  ViewVC Help
Powered by ViewVC 1.1.20