golly: upstream fix their tarball.
This commit is contained in:
parent
bb1f6c362f
commit
f44f8f4cb1
1 changed files with 4 additions and 14 deletions
|
@ -1,11 +1,10 @@
|
||||||
# Template file for 'golly'
|
# Template file for 'golly'
|
||||||
pkgname=golly
|
pkgname=golly
|
||||||
version=2.8
|
version=2.8
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="${pkgname}-${version}-src"
|
wrksrc="${pkgname}-${version}-src"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
build_wrksrc="build"
|
configure_script="gui-wx/configure/configure"
|
||||||
configure_script="../gui-wx/configure/configure"
|
|
||||||
configure_args="--with-wx-config=wx-config-3.0 LIBS=-lGL"
|
configure_args="--with-wx-config=wx-config-3.0 LIBS=-lGL"
|
||||||
hostmakedepends="automake"
|
hostmakedepends="automake"
|
||||||
makedepends="MesaLib-devel glu-devel lua-devel python-devel wxWidgets-devel
|
makedepends="MesaLib-devel glu-devel lua-devel python-devel wxWidgets-devel
|
||||||
|
@ -15,19 +14,10 @@ maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
homepage="http://golly.sourceforge.net/"
|
homepage="http://golly.sourceforge.net/"
|
||||||
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}-src.tar.gz"
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}-src.tar.gz"
|
||||||
checksum=bfe653b021afd46323770810011e381801d90d838aa26d5c5dab616c4a3e8eaf
|
checksum=0488724715bae228e88d0a819d8ed311f964c70f37f228f6218bc053a1b09b28
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
# POSIX name clash
|
# POSIX name clash
|
||||||
sed -i 's/PAGESIZE/GOLLYPAGESIZE/' gui-wx/*.cpp
|
sed -i 's/PAGESIZE/GOLLYPAGESIZE/' gui-wx/*.cpp
|
||||||
mkdir -p build
|
sed -i '/LDADD/s/ liblua\.a/ -llua5.3/g' gui-wx/configure/Makefile.in
|
||||||
}
|
|
||||||
|
|
||||||
pre_configure() {
|
|
||||||
(
|
|
||||||
cd ../gui-wx/configure
|
|
||||||
rm config.status
|
|
||||||
sed -i '/LDADD/s/ liblua\.a/ -llua5.3/g' Makefile.am
|
|
||||||
./autogen.sh
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue