diff options
author | Cameron Banta <cbanta@gmail.com> | 2011-11-23 00:17:10 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-11-23 07:20:31 +0000 |
commit | eff340021913f77afe6a0f03d35bb17bd1ff59b2 (patch) | |
tree | 3382e22a51f3601960f6339777eef8ba3cb2ea80 /testing/luajit | |
parent | 2116bb34ac44c7cafc02191c6383f87f62cd8baa (diff) | |
download | aports-eff340021913f77afe6a0f03d35bb17bd1ff59b2.tar.bz2 aports-eff340021913f77afe6a0f03d35bb17bd1ff59b2.tar.xz |
testing/luajit: new aport
Just-In-Time Compiler for the Lua programming language
http://luajit.org/
Diffstat (limited to 'testing/luajit')
-rw-r--r-- | testing/luajit/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/luajit/APKBUILD b/testing/luajit/APKBUILD new file mode 100644 index 000000000..f79106929 --- /dev/null +++ b/testing/luajit/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Cameron Banta <cbanta@gmail.com> +# Maintainer: Cameron Banta <cbanta@gmail.com> +pkgname=luajit +_pkgname=LuaJIT +pkgver=2.0.0_beta8 +_pkgver=2.0.0-beta8 +pkgrel=0 +pkgdesc="Just-In-Time Compiler for the Lua programming language" +url="http://luajit.org" +arch="all" +license="MIT" +depends="" +depends_dev="" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="http://luajit.org/download/$_pkgname-$_pkgver.tar.gz" + +_builddir=$srcdir/$_pkgname-$_pkgver + +build() { + cd "$_builddir" + make amalg PREFIX=/usr || return 1 +} + +package() { + cd "$_builddir" + make install DESTDIR="$pkgdir" PREFIX=/usr || return 1 + ln -sf /usr/bin/luajit-2.0.0-beta8 $pkgdir/usr/bin/luajit +} + +md5sums="f0748a73ae268d49b1d01f56c4fe3e61 LuaJIT-2.0.0-beta8.tar.gz" |