void-packages/srcpkgs/luaposix/template

26 lines
911 B
Plaintext

# Template file for 'luaposix'
pkgname=luaposix
version=5.1.15
revision=1
build_style=gnu-configure
configure_args="--libdir=/usr/lib/lua/5.1 --datadir=/usr/share/lua/5.1"
hostmakedepends="perl"
makedepends="lua-devel"
depends="lua"
short_desc="A POSIX library for Lua programming language"
maintainer="davehome <davehome@redthumb.info.tm>"
license="GPL-2, LGPL-2.1"
homepage="http://luaforge.net/projects/luaposix/"
distfiles="https://github.com/downloads/rrthomas/$pkgname/$pkgname-$version.tar.gz"
checksum=43a4be3279f42cbfcba6f9ae5218d786246203133d4a73806a53f53f95d6241c
long_desc="
This is a POSIX library, including curses, for Lua 5.1 and later. It
is released under the MIT license, like Lua (see
http://www.lua.org/copyright.html; it's basically the same as the BSD
license). There is no warranty."
post_install() {
vmkdir usr/share/$pkgname/examples
vcopy "*.lua" usr/share/$pkgname/examples
}