2012-02-22 20:04:29 +01:00
|
|
|
# Template file for 'luafilesystem'
|
|
|
|
pkgname=luafilesystem
|
|
|
|
version=1.5.0
|
2013-04-13 10:15:49 +02:00
|
|
|
revision=1
|
2012-02-22 20:04:29 +01:00
|
|
|
build_style=gnu-makefile
|
2012-05-23 18:26:56 +02:00
|
|
|
makedepends="lua-devel"
|
2012-02-22 20:04:29 +01:00
|
|
|
short_desc="File System Library for the Lua Programming Language"
|
|
|
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
|
|
|
license="MIT"
|
2013-04-13 10:15:49 +02:00
|
|
|
homepage="http://keplerproject.github.com/luafilesystem"
|
|
|
|
distfiles="https://github.com/downloads/keplerproject/$pkgname/$pkgname-$version.tar.gz"
|
2012-02-22 20:04:29 +01:00
|
|
|
checksum=00f6e1dc1e1da7f0fa77e375f0a04908ec4241a4c5e8d98031614f4a4a50c7cb
|
|
|
|
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."
|
|
|
|
|
2013-04-13 10:15:49 +02:00
|
|
|
do_install() {
|
|
|
|
make PREFIX=${DESTDIR}/usr install
|
2012-02-22 20:04:29 +01:00
|
|
|
|
|
|
|
vinstall tests/test.lua 755 usr/share/examples/${pkgname}
|
|
|
|
}
|
2013-04-13 10:15:49 +02:00
|
|
|
|
|
|
|
luafilesystem_package() {
|
|
|
|
depends="lua"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|