mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
games/cubosphere: *really* 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
4de4ef1d48
commit
da851e9497
1 changed files with 4 additions and 4 deletions
|
@ -22,6 +22,8 @@
|
|||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
# 20241103 bkw: Modified by SlackBuilds.org, BUILD=3: build with lua51.
|
||||
|
||||
# 20241019 bkw: Modified by SlackBuilds.org, BUILD=2:
|
||||
# - build with luajit.
|
||||
# - binary in /usr/games.
|
||||
|
@ -33,7 +35,7 @@ cd $(dirname $0) ; CWD=$(pwd)
|
|||
|
||||
PRGNAM=cubosphere
|
||||
VERSION=${VERSION:-beta0.3a}
|
||||
BUILD=${BUILD:-2}
|
||||
BUILD=${BUILD:-3}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
||||
|
@ -89,11 +91,9 @@ cd src
|
|||
sed -i \
|
||||
-e '/^PREFIX/s|=.*|=/usr|' \
|
||||
-e "s|-O3$|$SLKCFLAGS|" \
|
||||
-e "s|^LUALIBS=.*|LUALIBS=-lluajit-5.1|" \
|
||||
-e "s|^LUAINC=.*|LUAINC=-I/usr/include/luajit-2.0|" \
|
||||
Makefile
|
||||
|
||||
make
|
||||
make || make -j1
|
||||
make install DESTDIR=$PKG
|
||||
cd -
|
||||
|
||||
|
|
Loading…
Reference in a new issue