Skip to content
Snippets Groups Projects
Commit 92e36e23 authored by Natanael Copa's avatar Natanael Copa
Browse files

ap: switch to lua 5.2

parent e1d629b6
No related branches found
No related tags found
No related merge requests found
...@@ -8,8 +8,9 @@ sysconfdir ?= /etc ...@@ -8,8 +8,9 @@ sysconfdir ?= /etc
datadir ?= $(prefix)/share/$(PACKAGE) datadir ?= $(prefix)/share/$(PACKAGE)
abuildrepo ?= ~/.cache/abuild abuildrepo ?= ~/.cache/abuild
LUA_VERSION = 5.1 LUA_VERSION = 5.2
LUA_SHAREDIR ?= $(prefix)/share/lua/$(LUA_VERSION)/ LUA_SHAREDIR ?= $(prefix)/share/lua/$(LUA_VERSION)/
LUA_SHEBANG ?= /usr/bin/lua$(LUA_VERSION)
SCRIPTS := abuild buildrepo abuild-keygen abuild-sign newapkbuild \ SCRIPTS := abuild buildrepo abuild-keygen abuild-sign newapkbuild \
abump apkgrel ap buildlab apkbuild-cpan checkapk abump apkgrel ap buildlab apkbuild-cpan checkapk
...@@ -37,7 +38,8 @@ SED_REPLACE := -e 's:@VERSION@:$(FULL_VERSION):g' \ ...@@ -37,7 +38,8 @@ SED_REPLACE := -e 's:@VERSION@:$(FULL_VERSION):g' \
-e 's:@prefix@:$(prefix):g' \ -e 's:@prefix@:$(prefix):g' \
-e 's:@sysconfdir@:$(sysconfdir):g' \ -e 's:@sysconfdir@:$(sysconfdir):g' \
-e 's:@datadir@:$(datadir):g' \ -e 's:@datadir@:$(datadir):g' \
-e 's:@abuildrepo@:$(abuildrepo):g' -e 's:@abuildrepo@:$(abuildrepo):g' \
-e 's:@LUA_SHEBANG@:$(LUA_SHEBANG):g'
SSL_CFLAGS = $(shell pkg-config --cflags openssl) SSL_CFLAGS = $(shell pkg-config --cflags openssl)
SSL_LIBS = $(shell pkg-config --libs openssl) SSL_LIBS = $(shell pkg-config --libs openssl)
......
#!/usr/bin/lua @LUA_SHEBANG@
aports = require("aports") aports = require("aports")
lfs = require("lfs") lfs = require("lfs")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment