summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-07-12 06:43:25 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-07-12 06:43:25 +0000
commit92e36e2324846c208e9e91b7cf8eb354acb36c4f (patch)
tree3559cf14fd47d90ea5abc049ed3ce06da35be4c2 /Makefile
parente1d629b6c439b35c8f7f4a62a9b65ac4d3f6fd81 (diff)
downloadabuild-92e36e2324846c208e9e91b7cf8eb354acb36c4f.tar.bz2
abuild-92e36e2324846c208e9e91b7cf8eb354acb36c4f.tar.xz
ap: switch to lua 5.2
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ff5e88d..20afad5 100644
--- a/Makefile
+++ b/Makefile
@@ -8,8 +8,9 @@ sysconfdir ?= /etc
datadir ?= $(prefix)/share/$(PACKAGE)
abuildrepo ?= ~/.cache/abuild
-LUA_VERSION = 5.1
+LUA_VERSION = 5.2
LUA_SHAREDIR ?= $(prefix)/share/lua/$(LUA_VERSION)/
+LUA_SHEBANG ?= /usr/bin/lua$(LUA_VERSION)
SCRIPTS := abuild buildrepo abuild-keygen abuild-sign newapkbuild \
abump apkgrel ap buildlab apkbuild-cpan checkapk
@@ -37,7 +38,8 @@ SED_REPLACE := -e 's:@VERSION@:$(FULL_VERSION):g' \
-e 's:@prefix@:$(prefix):g' \
-e 's:@sysconfdir@:$(sysconfdir):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_LIBS = $(shell pkg-config --libs openssl)