Merge pull request #27 from radare/master

add luajit and luajit-devel pkg
This commit is contained in:
Juan RP 2012-12-21 04:04:06 -08:00
commit ab5c89fe39
3 changed files with 40 additions and 0 deletions

1
srcpkgs/LuaJIT-devel Symbolic link
View File

@ -0,0 +1 @@
LuaJIT

View File

@ -0,0 +1,15 @@
# Template file for 'lua-devel'.
#
depends="LuaJIT"
short_desc="${short_desc} - development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
do_install()
{
vmove usr/share/luajit-$version usr/share
vmove usr/include usr
vmove usr/lib/pkgconfig usr/lib
vmove "usr/lib/*" usr/lib
}

24
srcpkgs/LuaJIT/template Normal file
View File

@ -0,0 +1,24 @@
# Template file for 'LuaJIT'
pkgname=LuaJIT
version=2.0.0
distfiles="http://luajit.org/download/$pkgname-$version.tar.gz"
revision=1
short_desc="a Just-In-Time Compiler for Lua"
maintainer="pancake <pancake@nopcode.org>"
homepage="http://www.luajit.org"
license="MIT"
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."
subpackages="LuaJIT-devel"
do_build() {
make PREFIX=/usr ${makejobs}
}
do_install() {
make DPREFIX=${DESTDIR}/usr DESTDIR=${DESTDIR} INSTALL_SHARE=${DESTDIR}/usr/share PREFIX=/usr install
}