Add recipe for kqlives.

* It needs lua 5.1 (not 5.2, they are not API compatible), which was
  removed from ports.

Fixes http://ports.haiku-files.org/ticket/666.
This commit is contained in:
Adrien Destugues
2015-11-09 11:44:41 +01:00
parent f096ae2d3f
commit 69025f4a84

View File

@@ -0,0 +1,49 @@
SUMMARY="Console type RPG"
DESCRIPTION="The well-known KQ console-style RPG"
HOMEPAGE="http://kqlives.sourceforge.net"
SOURCE_URI="http://sourceforge.net/projects/kqlives/files/KQ/20091214/kq-0.99.tar.gz"
SOURCE_DIR="kq-$portVersion"
CHECKSUM_SHA256="a8742d0a8781bd3626aef17ae382525b0abb4ab194004c9acf9f136b7be2b6fd"
REVISION="1"
ARCHITECTURES="x86_gcc2"
PROVIDES="
kqlives = $portVersion
"
REQUIRES="
lib:liballeg
lib:libdumb
lib:liblua == 5.1
"
BUILD_REQUIRES="
haiku_devel
devel:liballeg
devel:libdumb
devel:liblua == 5.1
"
BUILD_PREREQUIRES="
cmd:awk
cmd:gcc
cmd:make
cmd:pkg_config
"
BUILD() {
# libtoolize --force --copy --install
# aclocal
# autoconf
# automake
runConfigure ./configure
make $jobArgs
}
INSTALL() {
make install
}
LICENSE="GNU GPL v2"
COPYRIGHT="JoshBolduc 2002
Allegro Community 2006-2009"