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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Apr 8 07:30:34 2015 UTC (2 years, 9 months ago) by mgorny
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +3 -3 lines
Remove old Python implementations

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

1 # Copyright 1999-2015 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.5.ebuild,v 1.2 2013/09/05 18:23:05 mgorny Exp $
4
5 EAPI=5
6 WX_GTK_VER=2.8
7 PYTHON_COMPAT=( python2_7 )
8
9 inherit eutils python-single-r1 gnome2-utils wxwidgets
10
11 DESCRIPTION="simulator for Conway's Game of Life and other cellular automata"
12 HOMEPAGE="http://golly.sourceforge.net/"
13 SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz"
14
15 LICENSE="GPL-2"
16 SLOT="0"
17 KEYWORDS="~amd64 ~x86"
18 IUSE=""
19
20 DEPEND="dev-lang/perl
21 sys-libs/zlib
22 x11-libs/wxGTK:${WX_GTK_VER}[X]"
23 RDEPEND="${DEPEND}"
24
25 S=${WORKDIR}/${P}-src
26 ECONF_SOURCE=gui-wx/configure
27
28 src_configure() {
29 econf --with-perl-shlib="libperl.so"
30 }
31
32 src_install() {
33 emake docdir= DESTDIR="${D}" install
34 dodoc docs/ReadMe.html
35 newicon --size 32 gui-wx/icons/appicon.xpm ${PN}.xpm
36 make_desktop_entry ${PN} "Golly" ${PN} "Science"
37 }
38
39 pkg_preinst() {
40 gnome2_icon_savelist
41 }
42
43 pkg_postinst() {
44 gnome2_icon_cache_update
45 }
46
47 pkg_postrm() {
48 gnome2_icon_cache_update
49 }

  ViewVC Help
Powered by ViewVC 1.1.20