Merge pull request #727 from bougyman/feature/neovim

Neovim lua prerequisites
This commit is contained in:
Juan RP 2014-12-14 19:49:33 +01:00
commit f874d85090
3 changed files with 63 additions and 0 deletions

View file

@ -0,0 +1,22 @@
# Template file for 'lua-BitOp'
pkgname=lua-BitOp
version=1.0.2
revision=1
makedepends="lua-devel>=5.2 lua>=5.2"
hostmakedepends="lua>=5.2"
depends="lua>=5.2"
short_desc="C extension module for Lua which adds bitwise operations on numbers"
maintainer="Tj Vanderpoel (bougyman) <tj@rubyists.com>"
license="MIT"
homepage="http://bitop.luajit.org/"
distfiles="${homepage}/download/LuaBitOp-${version}.tar.gz"
checksum=1207c9293dcd52eb9dca6538d1b87352bd510f4e760938f5048433f7f272ce99
build_style=gnu-makefile
wrksrc="LuaBitOp-${version}"
do_install() {
mod_path="${DESTDIR}$(lua installpath.lua bit)"
lua_path=$(dirname $mod_path)
install -dm0755 "$lua_path"
install -p bit.so "$mod_path"
}

View file

@ -0,0 +1,19 @@
# Template file for 'lua-MessagePack'
pkgname=lua-MessagePack
version=0.3.1
revision=1
hostmakedepends="lua>=5.2"
makedepends="lua>=5.2"
depends="lua>=5.2"
short_desc="A pure Lua implementation of msgpack.org"
maintainer="Tj Vanderpoel (bougyman) <tj@rubyists.com>"
license="MIT"
homepage="https://github.com/fperrad/lua-MessagePack"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=2cc1e2458d0f1eee8f02263848fa5055894303c056fd2e49aa9c3fb54ccbb5a0
do_install() {
make PREFIX=/usr DESTDIR="${DESTDIR}" LUAVER=5.2 install
}

22
srcpkgs/lua-lpeg/template Normal file
View file

@ -0,0 +1,22 @@
# Template file for 'lua-lpeg'
pkgname=lua-lpeg
_lualibname=lpeg
version=0.12.1
revision=1
hostmakedepends="lua>=5.2"
makedepends="lua-devel>=5.2"
depends="lua>=5.2"
short_desc="Pattern-matching library for Lua based on Parsing Expression Grammars"
maintainer="Tj Vanderpoel (bougyman) <tj@rubyists.com>"
license="MIT"
homepage="http://www.inf.puc-rio.br/~roberto/lpeg/"
distfiles="${homepage}/${_lualibname}-${version}.tar.gz"
wrksrc=${_lualibname}-${version}
checksum=60c6752dd043034c01929b04dab377d139f53bc098710cf735be53dd603fa22a
build_style=gnu-makefile
make_build_args=" LUADIR=${XBPS_CROSS_BASE}/usr/include"
do_install() {
install -Dm755 ${_lualibname}.so "${DESTDIR}"/usr/lib/lua/5.2/${_lualibname}.so
install -Dm644 re.lua "${DESTDIR}"/usr/share/lua/5.2/re.lua
}