mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-12 19:32:31 +01:00
31 lines
739 B
Plaintext
31 lines
739 B
Plaintext
# Maintainer: Cameron Banta <cbanta@gmail.com>
|
|
# Contributor: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
|
|
|
|
pkgname=luajit
|
|
pkgver=2.0.0
|
|
pkgrel=0
|
|
pkgdesc='Just-in-time compiler and replacement for Lua 5.1 '
|
|
url='http://luajit.org'
|
|
arch="all"
|
|
license="MIT"
|
|
makedepends="$depends_dev"
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
source="http://luajit.org/download/LuaJIT-$pkgver.tar.gz"
|
|
|
|
_builddir=$srcdir/LuaJIT-$pkgver
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
make amalg PREFIX=/usr || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make install DESTDIR="$pkgdir" PREFIX=/usr || return 1
|
|
|
|
install -Dm644 "$_builddir"/COPYRIGHT \
|
|
$pkgdir/usr/share/licenses/$pkgname/COPYRIGHT
|
|
}
|
|
|
|
md5sums="97a2b87cc0490784f54b64cfb3b8f5ad LuaJIT-2.0.0.tar.gz"
|