24 lines
835 B
Bash
24 lines
835 B
Bash
# Template file for 'golly'
|
|
pkgname=golly
|
|
version=3.0
|
|
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 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="Leah Neukirchen <leah@vuxu.org>"
|
|
license="GPL-2"
|
|
homepage="http://golly.sourceforge.net/"
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}-src.tar.gz"
|
|
checksum=9983a0c920ec51f7d307ecd48105c2c43e80ca9bbbc2aef47a333ed4de31c2e3
|
|
|
|
post_extract() {
|
|
# POSIX name clash
|
|
sed -i 's/PAGESIZE/GOLLYPAGESIZE/' gui-wx/*.cpp
|
|
sed -i '/LDADD/s/ liblua\.a/ -llua5.3/g' gui-wx/configure/Makefile.in
|
|
}
|