2012-12-21 12:59:31 +01:00
|
|
|
# Template file for 'LuaJIT'
|
|
|
|
pkgname=LuaJIT
|
2013-07-15 05:35:10 +02:00
|
|
|
version=2.0.2
|
|
|
|
revision=1
|
2013-06-18 10:46:54 +02:00
|
|
|
short_desc="A Just-In-Time Compiler for Lua"
|
2012-12-21 12:59:31 +01:00
|
|
|
maintainer="pancake <pancake@nopcode.org>"
|
|
|
|
homepage="http://www.luajit.org"
|
|
|
|
license="MIT"
|
2013-04-12 09:01:46 +02:00
|
|
|
distfiles="http://luajit.org/download/$pkgname-$version.tar.gz"
|
2013-07-15 05:35:10 +02:00
|
|
|
checksum=c05202974a5890e777b181908ac237625b499aece026654d7cc33607e3f46c38
|
2012-12-21 12:59:31 +01:00
|
|
|
long_desc="
|
2013-07-15 05:35:10 +02:00
|
|
|
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."
|
2012-12-21 12:59:31 +01:00
|
|
|
|
|
|
|
do_build() {
|
|
|
|
make PREFIX=/usr ${makejobs}
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
2013-04-12 09:01:46 +02:00
|
|
|
make DPREFIX=${DESTDIR}/usr DESTDIR=${DESTDIR} \
|
|
|
|
INSTALL_SHARE=${DESTDIR}/usr/share PREFIX=/usr install
|
|
|
|
}
|
|
|
|
|
|
|
|
LuaJIT-devel_package() {
|
|
|
|
depends="LuaJIT>=${version}"
|
2013-06-18 10:46:54 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 09:01:46 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-06-18 10:46:54 +02:00
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 09:01:46 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
LuaJIT_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
2012-12-21 12:59:31 +01:00
|
|
|
}
|