aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-11-26 01:13:33 +0100
committerJakub Jirutka <jakub@jirutka.cz>2017-11-26 01:17:35 +0100
commit0d4a40cf3e42661f0ca7fab8f0c524607c13004a (patch)
treeee316be4f8170b80380a955701693ca050c095a6
parenta25c1b06c4b6538e6ed2f0affc4f6063ffcec17e (diff)
downloadaports-0d4a40cf3e42661f0ca7fab8f0c524607c13004a.tar.bz2
aports-0d4a40cf3e42661f0ca7fab8f0c524607c13004a.tar.xz
main/lxc: build Lua module for lua5.3 instead of lua5.2
-rw-r--r--main/lxc/APKBUILD12
1 files changed, 6 insertions, 6 deletions
diff --git a/main/lxc/APKBUILD b/main/lxc/APKBUILD
index 7a7071da0e..a4d6b443d1 100644
--- a/main/lxc/APKBUILD
+++ b/main/lxc/APKBUILD
@@ -12,10 +12,10 @@ arch="all"
license="GPL"
depends="gzip"
depends_dev="libcap-dev"
-makedepends="$depends_dev lvm2 util-linux automake autoconf libtool lua5.2-dev
+makedepends="$depends_dev lvm2 util-linux automake autoconf libtool lua5.3-dev
linux-headers bash tar docbook2x libseccomp-dev python3-dev dnsmasq"
options="suid"
-subpackages="$pkgname-dev $pkgname-doc $pkgname-lvm::noarch lua5.2-lxc:_lua52
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lvm::noarch lua5.3-lxc:_lua53
$pkgname-download:_download:noarch $pkgname-templates::noarch $pkgname-libs
py3-$pkgname:_py3 $pkgname-bridge"
source="https://github.com/lxc/lxc/archive/lxc-$_pkgver.tar.gz
@@ -37,7 +37,7 @@ prepare() {
build() {
cd "$builddir"
- LUA_VERSION=5.2 \
+ LUA_VERSION=5.3 \
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -47,7 +47,7 @@ build() {
--disable-apparmor \
--enable-lua \
--enable-python \
- --with-lua-pc=lua5.2 \
+ --with-lua-pc=lua5.3 \
--with-distro=alpine \
--disable-werror
make VERSION=$pkgver
@@ -81,8 +81,8 @@ lvm() {
mkdir "$subpkgdir"
}
-_lua52() {
- pkgdesc="Lua 5.2 module for LXC"
+_lua53() {
+ pkgdesc="Lua 5.3 module for LXC"
local dir; for dir in lib share; do
mkdir -p "$subpkgdir"/usr/$dir