freedroidrpg: update to latest release.

Makes it a bit easier to build with modern autotools.
This commit is contained in:
Adrien Destugues
2017-02-11 22:39:22 +01:00
parent 59db6f2e21
commit d6de101a9c

View File

@@ -18,14 +18,12 @@ People having - or trying to acquire - programming, map editing, or writing \
skills will find FreedroidRPG to be an exciting, fast-moving project in which \
they can fully express their creativity."
HOMEPAGE="http://freedroid.org"
COPYRIGHT="2002-2010 The Freedroid team"
COPYRIGHT="2002-2015 The Freedroid team"
LICENSE="GNU GPL v2"
REVISION="2"
SOURCE_URI="ftp://ftp.osuosl.org/pub/freedroid/freedroidRPG-0.15/freedroidRPG-0.15.1.tar.gz"
CHECKSUM_SHA256="3e0e0e901f05386f49b8dfa1a8b3582ea82347deb7fb8e94fc15bf8ad058ba08"
SOURCE_DIR="freedroidrpg-0.15.1"
PATCHES="configure.ac.patch
configure.2.ac.patch"
REVISION="1"
SOURCE_URI="ftp://ftp.osuosl.org/pub/freedroid/freedroidRPG-0.16/freedroidRPG-$portVersion.tar.gz"
#CHECKSUM_SHA256="3e0e0e901f05386f49b8dfa1a8b3582ea82347deb7fb8e94fc15bf8ad058ba08"
SOURCE_DIR="freedroidrpg-$portVersion"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
@@ -84,11 +82,13 @@ BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
cmd:gettext
cmd:libtoolize
cmd:autoconf
cmd:automake
cmd:pkg_config$secondaryArchSuffix
cmd:python
cmd:which
"
PATCH()
@@ -103,13 +103,20 @@ PATCH()
BUILD()
{
echo "=== libtoolize"
libtoolize --force --copy --install
echo "=== missing"
automake --add-missing
echo "=== autoreconf"
autoreconf
echo "=== aclocal"
aclocal
echo "=== autoconf"
autoconf
echo "=== automake"
automake
runConfigure ./configure --disable-sdltest --with-embedded-lua
make
make $jobArgs
}
INSTALL()