31 lines
734 B
Plaintext
31 lines
734 B
Plaintext
# Template file for 'LuaJIT'
|
|
pkgname=LuaJIT
|
|
version=2.0.2
|
|
revision=2
|
|
short_desc="A Just-In-Time Compiler for Lua"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
homepage="http://www.luajit.org"
|
|
license="MIT"
|
|
distfiles="http://luajit.org/download/$pkgname-$version.tar.gz"
|
|
checksum=c05202974a5890e777b181908ac237625b499aece026654d7cc33607e3f46c38
|
|
|
|
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="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|