2012-02-22 05:50:56 +01:00
|
|
|
# Template file for 'luaposix'
|
|
|
|
pkgname=luaposix
|
|
|
|
version=5.1.15
|
2014-02-21 12:55:50 +01:00
|
|
|
revision=2
|
2012-02-22 05:50:56 +01:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--libdir=/usr/lib/lua/5.1 --datadir=/usr/share/lua/5.1"
|
2013-04-13 10:15:49 +02:00
|
|
|
hostmakedepends="perl"
|
|
|
|
makedepends="lua-devel"
|
2014-01-01 16:10:11 +01:00
|
|
|
depends="lua"
|
2012-02-22 05:50:56 +01:00
|
|
|
short_desc="A POSIX library for Lua programming language"
|
|
|
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
|
|
|
license="GPL-2, LGPL-2.1"
|
2013-04-13 10:15:49 +02:00
|
|
|
homepage="http://luaforge.net/projects/luaposix/"
|
|
|
|
distfiles="https://github.com/downloads/rrthomas/$pkgname/$pkgname-$version.tar.gz"
|
2012-02-22 05:50:56 +01:00
|
|
|
checksum=43a4be3279f42cbfcba6f9ae5218d786246203133d4a73806a53f53f95d6241c
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vmkdir usr/share/$pkgname/examples
|
|
|
|
vcopy "*.lua" usr/share/$pkgname/examples
|
|
|
|
}
|