41 lines
996 B
Plaintext
41 lines
996 B
Plaintext
# Template file for 'LuaJIT'
|
|
pkgname=LuaJIT
|
|
version=2.0.0
|
|
revision=2
|
|
short_desc="A Just-In-Time Compiler for Lua"
|
|
maintainer="pancake <pancake@nopcode.org>"
|
|
homepage="http://www.luajit.org"
|
|
license="MIT"
|
|
distfiles="http://luajit.org/download/$pkgname-$version.tar.gz"
|
|
checksum=deaed645c4a093c5fb250c30c9933c9131ee05c94b13262d58f6e0b60b338c15
|
|
long_desc="
|
|
LuaJIT is a Just-In-Time Compiler (JIT) for the Lua programming language.
|
|
Lua is a powerful, dynamic and light-weight programming language. It may
|
|
be embedded or used as a general-purpose, stand-alone language."
|
|
|
|
do_build() {
|
|
make PREFIX=/usr ${makejobs}
|
|
}
|
|
|
|
do_install() {
|
|
make DPREFIX=${DESTDIR}/usr DESTDIR=${DESTDIR} \
|
|
INSTALL_SHARE=${DESTDIR}/usr/share PREFIX=/usr install
|
|
}
|
|
|
|
LuaJIT-devel_package() {
|
|
depends="LuaJIT>=${version}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|
|
|
|
LuaJIT_package() {
|
|
pkg_install() {
|
|
vmove usr
|
|
}
|
|
}
|