diff --git a/srcpkgs/luaposix/luaposix.rshlibs b/srcpkgs/luaposix/luaposix.rshlibs new file mode 100644 index 00000000000..5f3134fbee1 --- /dev/null +++ b/srcpkgs/luaposix/luaposix.rshlibs @@ -0,0 +1,4 @@ +librt.so.1 +libcrypt.so.1 +libc.so.6 +libncursesw.so.6 diff --git a/srcpkgs/luaposix/template b/srcpkgs/luaposix/template new file mode 100644 index 00000000000..3b0c4c2846b --- /dev/null +++ b/srcpkgs/luaposix/template @@ -0,0 +1,26 @@ +# Template file for 'luaposix' +pkgname=luaposix +version=5.1.15 +homepage="http://luaforge.net/projects/luaposix/" +distfiles="https://github.com/downloads/rrthomas/$pkgname/$pkgname-$version.tar.gz" +build_style=gnu-configure +configure_args="--libdir=/usr/lib/lua/5.1 --datadir=/usr/share/lua/5.1" +short_desc="A POSIX library for Lua programming language" +maintainer="davehome " +license="GPL-2, LGPL-2.1" +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." + +Add_dependency run lua + +Add_dependency build perl ">=0" +Add_dependency build lua-devel + +post_install() { + vmkdir usr/share/$pkgname/examples + vcopy "*.lua" usr/share/$pkgname/examples +}