void-packages/srcpkgs/luafilesystem/template

22 lines
666 B
Bash

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