void-packages/srcpkgs/luafilesystem/template

23 lines
666 B
Bash

# Template file for 'luafilesystem'
pkgname=luafilesystem
version=1.6.3
revision=2
wrksrc="$pkgname-v_${version//./_}"
makedepends="lua51-devel"
depends="lua51"
short_desc="File System Library for the Lua Programming Language"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="http://keplerproject.github.com/luafilesystem"
distfiles="https://github.com/keplerproject/${pkgname}/archive/v_${version//./_}.tar.gz"
checksum=5525d2b8ec7774865629a6a29c2f94cb0f7e6787987bf54cd37e011bfb642068
do_build() {
make ${makejobs} CC="$CC" LUA_INC=${XBPS_CROSS_BASE}/usr/include/lua5.1
}
do_install() {
make PREFIX=${DESTDIR}/usr install
vlicense LICENSE
}