summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-02-27 11:44:22 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2015-02-27 11:44:27 +0000
commit9f25e84aeea2d6813f296dcec58f6d1b1f74ce2e (patch)
treec5d5769f61bf0e59dd48fb3d362e2c81a79317b1 /testing
parenta7594867ae4fd4a62ff701d6108f15e3ca3fa11c (diff)
downloadaports-9f25e84aeea2d6813f296dcec58f6d1b1f74ce2e.tar.bz2
aports-9f25e84aeea2d6813f296dcec58f6d1b1f74ce2e.tar.xz
testing/lua-turbo: new aport
Diffstat (limited to 'testing')
-rw-r--r--testing/lua-turbo/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/lua-turbo/APKBUILD b/testing/lua-turbo/APKBUILD
new file mode 100644
index 000000000..0b31c6460
--- /dev/null
+++ b/testing/lua-turbo/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=lua-turbo
+pkgver=1.1
+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="$pkgname-dev"
+source="$pkgname-$pkgver.tar.gz::https://github.com/kernelsauce/turbo/archive/v$pkgver.tar.gz"
+
+_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 || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make -j1 PREFIX="$pkgdir"/usr install || return 1
+}
+
+md5sums="2224ced034263710e4d3e77ed3cb3671 lua-turbo-1.1.tar.gz"
+sha256sums="35427a613e517ddb8b5a7964bba46b13482543bc1ba733d8f9026a56886351dc lua-turbo-1.1.tar.gz"
+sha512sums="232998411ccc67f3d13916861a1bfe893229625a645f8f9daa8834a33a22206bff759a62edb14a0c6cfaabead0ba71d07c5b9b80e393b3658c8aa564f362422c lua-turbo-1.1.tar.gz"