diff --git a/srcpkgs/golly/template b/srcpkgs/golly/template new file mode 100644 index 00000000000..27435f5628e --- /dev/null +++ b/srcpkgs/golly/template @@ -0,0 +1,20 @@ +# Template file for 'golly' +pkgname=golly +version=2.7 +revision=1 +wrksrc="${pkgname}-${version}-src" +build_style=gnu-configure +configure_script="gui-wx/configure/configure" +configure_args="--with-wx-config=wx-config-3.0" +makedepends="perl python-devel wxWidgets-devel" +short_desc="Simulator for Conway's Game of Life and other cellular automata" +maintainer="Christian Neukirchen " +license="GPL-2" +homepage="http://golly.sourceforge.net/" +distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}-src.tar.gz" +checksum=4ee86e42e16c09e41aa8492f66e5a4a1ea7a130c5abc43d962e2f1d5604bd971 + +post_extract() { + # POSIX name clash + sed -i 's/PAGESIZE/GOLLYPAGESIZE/' gui-wx/*.cpp +}