golly: update to 2.8.

This commit is contained in:
Christian Neukirchen 2016-08-08 19:00:28 +02:00
parent 182e04e9d0
commit bb1f6c362f
1 changed files with 18 additions and 5 deletions

View File

@ -1,20 +1,33 @@
# Template file for 'golly'
pkgname=golly
version=2.7
version=2.8
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 zlib-devel"
build_wrksrc="build"
configure_script="../gui-wx/configure/configure"
configure_args="--with-wx-config=wx-config-3.0 LIBS=-lGL"
hostmakedepends="automake"
makedepends="MesaLib-devel glu-devel lua-devel python-devel wxWidgets-devel
zlib-devel"
short_desc="Simulator for Conway's Game of Life and other cellular automata"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="http://golly.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}-src.tar.gz"
checksum=4ee86e42e16c09e41aa8492f66e5a4a1ea7a130c5abc43d962e2f1d5604bd971
checksum=bfe653b021afd46323770810011e381801d90d838aa26d5c5dab616c4a3e8eaf
post_extract() {
# POSIX name clash
sed -i 's/PAGESIZE/GOLLYPAGESIZE/' gui-wx/*.cpp
mkdir -p build
}
pre_configure() {
(
cd ../gui-wx/configure
rm config.status
sed -i '/LDADD/s/ liblua\.a/ -llua5.3/g' Makefile.am
./autogen.sh
)
}