2012-12-21 11:59:31 +00:00
|
|
|
# Template file for 'LuaJIT'
|
|
|
|
pkgname=LuaJIT
|
2013-07-15 03:35:10 +00:00
|
|
|
version=2.0.2
|
2014-02-21 11:55:32 +00:00
|
|
|
revision=2
|
2013-06-18 08:46:54 +00:00
|
|
|
short_desc="A Just-In-Time Compiler for Lua"
|
2014-02-21 11:55:32 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-12-21 11:59:31 +00:00
|
|
|
homepage="http://www.luajit.org"
|
|
|
|
license="MIT"
|
2013-04-12 07:01:46 +00:00
|
|
|
distfiles="http://luajit.org/download/$pkgname-$version.tar.gz"
|
2013-07-15 03:35:10 +00:00
|
|
|
checksum=c05202974a5890e777b181908ac237625b499aece026654d7cc33607e3f46c38
|
2012-12-21 11:59:31 +00:00
|
|
|
|
|
|
|
do_build() {
|
|
|
|
make PREFIX=/usr ${makejobs}
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
2013-04-12 07:01:46 +00:00
|
|
|
make DPREFIX=${DESTDIR}/usr DESTDIR=${DESTDIR} \
|
|
|
|
INSTALL_SHARE=${DESTDIR}/usr/share PREFIX=/usr install
|
|
|
|
}
|
|
|
|
|
|
|
|
LuaJIT-devel_package() {
|
2014-02-21 11:55:32 +00:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
2013-06-18 08:46:54 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 07:01:46 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-06-18 08:46:54 +00:00
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 07:01:46 +00:00
|
|
|
}
|
|
|
|
}
|