32 lines
942 B
Text
32 lines
942 B
Text
# Template file for 'luafilesystem'
|
|
pkgname=luafilesystem
|
|
version=1.6.2
|
|
revision=2
|
|
makedepends="lua51-devel"
|
|
short_desc="File System Library for the Lua Programming Language"
|
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
|
license="MIT"
|
|
homepage="http://keplerproject.github.com/luafilesystem"
|
|
distfiles="https://github.com/downloads/keplerproject/$pkgname/$pkgname-$version.tar.gz"
|
|
checksum=4ad16df9958314662a459fec848d233d59313ef4992808a290053c1614532018
|
|
long_desc="
|
|
LuaFileSystem is a Lua library developed to complement the set of functions
|
|
related to file systems offered by the standard Lua distribution.
|
|
|
|
LuaFileSystem offers a portable way to access the underlying directory
|
|
structure and file attributes."
|
|
|
|
do_build() {
|
|
make ${makejobs} CC="$CC" LUA_INC=${XBPS_CROSS_BASE}/usr/include/lua5.1
|
|
}
|
|
|
|
do_install() {
|
|
make PREFIX=${DESTDIR}/usr install
|
|
}
|
|
|
|
luafilesystem_package() {
|
|
depends="lua51"
|
|
pkg_install() {
|
|
vmove all
|
|
}
|
|
}
|