diff options
author | Jeroen Roovers <jer@gentoo.org> | 2017-03-04 14:30:19 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2017-03-04 14:30:57 +0100 |
commit | d1bf932112b9149c4ac1d7578051dfc263155c3b (patch) | |
tree | 23995fbb761de425a13b3c1275da7059cca30277 /app-misc/golly | |
parent | mail-client/kube: new package (diff) | |
download | gentoo-d1bf932112b9149c4ac1d7578051dfc263155c3b.tar.gz gentoo-d1bf932112b9149c4ac1d7578051dfc263155c3b.tar.bz2 gentoo-d1bf932112b9149c4ac1d7578051dfc263155c3b.zip |
app-misc/golly: Version bump.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'app-misc/golly')
-rw-r--r-- | app-misc/golly/Manifest | 1 | ||||
-rw-r--r-- | app-misc/golly/golly-2.8.ebuild | 56 |
2 files changed, 57 insertions, 0 deletions
diff --git a/app-misc/golly/Manifest b/app-misc/golly/Manifest index c002d0b05f1d..a2446a6ad39f 100644 --- a/app-misc/golly/Manifest +++ b/app-misc/golly/Manifest @@ -1 +1,2 @@ DIST golly-2.7-src.tar.gz 3881882 SHA256 9af30afd7b03b3eebcfaec088d67c495609aef72516d9ca8f076b62f32b5e17b SHA512 084919f508b471cc0937d50307410c3f48281e7328e3b9d20e634b9ddfe5909e3b9a000da5a9845a2ba7e45a733fee39e2e6d55902c9af110b5f2d7ea8654d77 WHIRLPOOL 5c391894943593391e2c784f28c00cbbb479068936c6bd754d6c81847d4b0a3c57aad65535a5d8f5f97f789225a6d8d18f52b203ea9340fdd49f641fac8ae42e +DIST golly-2.8-src.tar.gz 4087191 SHA256 0488724715bae228e88d0a819d8ed311f964c70f37f228f6218bc053a1b09b28 SHA512 bd86f685d180687814a44aa51edf4952a5af9024abb76d6b30faf1229edc86a1ba4e1f2c13f249f604d483fbde1a6db05150263450935b5bb073c155ad166a53 WHIRLPOOL e42ac36a1b61c2df7ddbab6b1d99fc34547cb1856178ba8de55d0e029e5d13fadcb1ca3cc4fd3211a8e470b4568971f23e95ee64d7d33f3a424f3977aa6e293d diff --git a/app-misc/golly/golly-2.8.ebuild b/app-misc/golly/golly-2.8.ebuild new file mode 100644 index 000000000000..f8a373395431 --- /dev/null +++ b/app-misc/golly/golly-2.8.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +WX_GTK_VER=3.0 +PYTHON_COMPAT=( python2_7 ) + +inherit eutils flag-o-matic python-single-r1 gnome2-utils wxwidgets + +DESCRIPTION="simulator for Conway's Game of Life and other cellular automata" +HOMEPAGE="http://golly.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-lang/perl + virtual/opengl + sys-libs/zlib + x11-libs/wxGTK:${WX_GTK_VER}[X]" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${P}-src +ECONF_SOURCE=gui-wx/configure + +pkg_setup() { + setup-wxwidgets +} + +src_configure() { + append-libs -lGL -ldl + econf \ + --with-perl-shlib="libperl.so" \ + --with-wxshared +} + +src_install() { + emake docdir= DESTDIR="${D}" install + dodoc docs/ReadMe.html + newicon --size 32 gui-wx/icons/appicon.xpm ${PN}.xpm + make_desktop_entry ${PN} "Golly" ${PN} "Science" +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} |