aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-12-31 22:00:31 +0100
committerJakub Jirutka <jakub@jirutka.cz>2017-12-31 22:00:50 +0100
commit024d5fd7ee64760db9736b3bf2359300ed190812 (patch)
treec4fcfd2e15af4a7b9371eeff29d0dc43014ee301
parent9e597dd9d5f4cbffc899188eb5b8a8cf2f94874c (diff)
downloadaports-024d5fd7ee64760db9736b3bf2359300ed190812.tar.gz
aports-024d5fd7ee64760db9736b3bf2359300ed190812.tar.bz2
aports-024d5fd7ee64760db9736b3bf2359300ed190812.tar.xz
main/lutok: build with lua5.3 instead of lua5.2
-rw-r--r--main/lutok/APKBUILD25
1 files changed, 12 insertions, 13 deletions
diff --git a/main/lutok/APKBUILD b/main/lutok/APKBUILD
index bbb58a21a2..4885d46112 100644
--- a/main/lutok/APKBUILD
+++ b/main/lutok/APKBUILD
@@ -1,15 +1,13 @@
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=lutok
pkgver=0.4
-pkgrel=1
+pkgrel=2
pkgdesc="lightweight C++ API for Lua"
url="https://github.com/jmmv/lutok"
arch="all"
license="BSD"
-depends=""
-depends_dev="lua5.2-dev"
+depends_dev="lua5.3-dev"
makedepends="$depends_dev"
-install=""
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/jmmv/lutok/releases/download/lutok-$pkgver/lutok-$pkgver.tar.gz"
builddir="$srcdir/lutok-$pkgver"
@@ -22,13 +20,16 @@ prepare() {
build() {
cd "$builddir"
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
- --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --localstatedir=/var
+
+ LUA_CFLAGS=$(pkg-config --cflags lua5.3) \
+ LUA_LIBS=$(pkg-config --libs lua5.3) \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
make
}
@@ -42,6 +43,4 @@ package() {
make -j1 DESTDIR="$pkgdir" install
}
-md5sums="5da43895d9209f8c19d79433dd046b3f lutok-0.4.tar.gz"
-sha256sums="2cec51efa0c8d65ace8b21eaa08384b77abc5087b46e785f78de1c21fb754cd5 lutok-0.4.tar.gz"
sha512sums="664f30099bfbb30978e24068a9232a4ff1b5b1839c601bf784f35f6bb1394558067495093a3b0343c94e756d2e4186a32a8227baf5934c15c45905f7c0a5d19c lutok-0.4.tar.gz"