void-packages/srcpkgs/luafilesystem/template

20 lines
612 B
Bash

# Template file for 'luafilesystem'
pkgname=luafilesystem
version=1.6.2
revision=4
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/downloads/keplerproject/$pkgname/$pkgname-$version.tar.gz"
checksum=4ad16df9958314662a459fec848d233d59313ef4992808a290053c1614532018
do_build() {
make ${makejobs} CC="$CC" LUA_INC=${XBPS_CROSS_BASE}/usr/include/lua5.1
}
do_install() {
make PREFIX=${DESTDIR}/usr install
}