blob: 96dea5701142f050d720293128b2b4110b11d7f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=lua-turbo
pkgver=1.1.3
pkgrel=0
pkgdesc="a framework built for LuaJIT 2 and Linux"
url="http://www.turbolua.org/"
arch="all"
license="GPL"
depends="luajit"
depends_dev=""
makedepends="$depends_dev openssl-dev"
install=""
subpackages=""
source="$pkgname-$pkgver.tar.gz::https://github.com/kernelsauce/turbo/archive/v$pkgver.tar.gz
fix-bindir.patch"
_builddir="$srcdir/turbo-$pkgver"
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
make PREFIX=/usr LUAJIT_VERSION=2.0.3 || return 1
}
package() {
cd "$_builddir"
make PREFIX="$pkgdir"/usr \
LUAJIT_VERSION=2.0.3 install || return 1
}
md5sums="4e2e87d2cc1e9e9cda7d67176a2ab150 lua-turbo-1.1.3.tar.gz
5fbc1fcf73ef48998a90b06df782162c fix-bindir.patch"
sha256sums="025bc2d4236fbdfa59ba55a86c94778408a82561c5c6d39e85705ea3121e7010 lua-turbo-1.1.3.tar.gz
d676d0cd520759f293afdb59e59024a4ad30a8c419ab348e6acc1e72a1bb90a4 fix-bindir.patch"
sha512sums="7fe9a46998d88bfc746aa37eb87f2a63db16d67fbe1973fd459d8490440c1d24dbf0058685bdde17de9d5a150e8503771862a8bf8fb01eb153c607b663c9fae0 lua-turbo-1.1.3.tar.gz
e8ce4427bcf7040fdf3f711a533a0857d9dcf3678334fd4b32917642cb1a5c540ade3d3c8e26bc6b8a7ce0ff6c6f64c92eda70edec3874e7aa3507acb82c2211 fix-bindir.patch"
|