void-packages/srcpkgs/LuaJIT/template

31 lines
734 B
Text
Raw Normal View History

2012-12-21 11:59:31 +00:00
# Template file for 'LuaJIT'
pkgname=LuaJIT
2014-03-12 22:46:28 +00:00
version=2.0.3
2014-02-21 11:55:32 +00:00
revision=2
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"
distfiles="http://luajit.org/download/$pkgname-$version.tar.gz"
2014-03-12 22:46:28 +00:00
checksum=55be6cb2d101ed38acca32c5b1f99ae345904b365b642203194c585d27bebd79
2012-12-21 11:59:31 +00:00
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() {
2014-02-21 11:55:32 +00:00
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"
}
}