2012-02-22 04:50:56 +00:00
|
|
|
# Template file for 'luaposix'
|
|
|
|
pkgname=luaposix
|
2014-02-21 12:02:50 +00:00
|
|
|
version=5.1.28
|
2014-06-08 10:15:44 +00:00
|
|
|
revision=3
|
2014-04-04 16:42:20 +00:00
|
|
|
lib32disabled=yes
|
2014-02-21 12:02:50 +00:00
|
|
|
wrksrc="${pkgname}-release-v${version}"
|
2012-02-22 04:50:56 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--libdir=/usr/lib/lua/5.1 --datadir=/usr/share/lua/5.1"
|
2014-02-21 12:02:50 +00:00
|
|
|
hostmakedepends="perl lua-devel"
|
|
|
|
makedepends="ncurses-devel lua-devel"
|
2014-01-01 15:10:11 +00:00
|
|
|
depends="lua"
|
2012-02-22 04:50:56 +00:00
|
|
|
short_desc="A POSIX library for Lua programming language"
|
2014-06-08 10:15:44 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-02-22 04:50:56 +00:00
|
|
|
license="GPL-2, LGPL-2.1"
|
2013-04-13 08:15:49 +00:00
|
|
|
homepage="http://luaforge.net/projects/luaposix/"
|
2014-02-21 12:02:50 +00:00
|
|
|
distfiles="https://github.com/luaposix/luaposix/archive/release-v${version}.tar.gz"
|
|
|
|
checksum=d82a322cb93d25ef16ba2cbab79f6fa1d94806249542d771c2c89a5f9cc4345f
|
2012-02-22 04:50:56 +00:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vmkdir usr/share/$pkgname/examples
|
|
|
|
vcopy "*.lua" usr/share/$pkgname/examples
|
|
|
|
}
|