mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
development/love-legacy080: Build with lua51.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
e641024d68
commit
d7f3b75091
1 changed files with 6 additions and 2 deletions
|
@ -11,6 +11,7 @@
|
|||
# #!/usr/bin/env love-0.8.0
|
||||
# See mari0.SlackBuild for an example.
|
||||
|
||||
# 20241107 bkw: BUILD=3, use lua51 (because this won't build with luajit-2.1.x)
|
||||
# 20241018 bkw: BUILD=2, REQUIRES=luajit instead of lua.
|
||||
# 20210903 bkw: fix build for current/pre15.
|
||||
|
||||
|
@ -18,7 +19,7 @@ cd $(dirname $0) ; CWD=$(pwd)
|
|||
|
||||
PRGNAM=love-legacy080
|
||||
VERSION=${VERSION:-0.8.0}
|
||||
BUILD=${BUILD:-2}
|
||||
BUILD=${BUILD:-3}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
||||
|
@ -70,6 +71,9 @@ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
|
|||
# this is the same patch as love-legacy072
|
||||
zcat $CWD/newmesafix.diff.gz | patch -p1
|
||||
|
||||
SLKCFLAGS+=" $(pkg-config --cflags lua51)"
|
||||
|
||||
LDFLAGS="$(pkg-config --libs lua51)" \
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
|
@ -80,7 +84,7 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
--mandir=/usr/man \
|
||||
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||
--program-suffix=-0.8.0 \
|
||||
--with-luajit \
|
||||
--without-luajit \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
make
|
||||
|
|
Loading…
Reference in a new issue