mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-14 12:21:47 +01:00
33 lines
778 B
Plaintext
33 lines
778 B
Plaintext
# Contributor: Cameron Banta <cbanta@gmail.com>
|
|
# Maintainer: Cameron Banta <cbanta@gmail.com>
|
|
pkgname=luajit
|
|
_pkgname=LuaJIT
|
|
pkgver=2.0.0_beta8
|
|
_pkgver=${pkgver//_/-}
|
|
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-${_pkgver} $pkgdir/usr/bin/luajit
|
|
}
|
|
|
|
md5sums="f0748a73ae268d49b1d01f56c4fe3e61 LuaJIT-2.0.0-beta8.tar.gz"
|