From d2e3e07ad935786597bb05a32e1c1d9e7a26df38 Mon Sep 17 00:00:00 2001 From: Andrea Brancaleoni Date: Fri, 12 Jun 2015 17:28:47 +0200 Subject: [PATCH] New package: luaposix51-5.1.28 --- srcpkgs/luaposix51/template | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/luaposix51/template diff --git a/srcpkgs/luaposix51/template b/srcpkgs/luaposix51/template new file mode 100644 index 00000000000..38ebeb55da8 --- /dev/null +++ b/srcpkgs/luaposix51/template @@ -0,0 +1,22 @@ +# Template file for 'luaposix51' +pkgname=luaposix51 +version=5.1.28 +revision=1 +lib32disabled=yes +wrksrc="luaposix-release-v${version}" +build_style=gnu-configure +configure_args="--libdir=/usr/lib/lua/5.1 --datadir=/usr/share/lua/5.1" +hostmakedepends="perl lua51-devel" +makedepends="ncurses-devel lua51-devel" +depends="lua51" +short_desc="A POSIX library for Lua programming language" +maintainer="Juan RP " +license="GPL-2, LGPL-2.1" +homepage="http://luaforge.net/projects/luaposix/" +distfiles="https://github.com/luaposix/luaposix/archive/release-v${version}.tar.gz" +checksum=d82a322cb93d25ef16ba2cbab79f6fa1d94806249542d771c2c89a5f9cc4345f + +post_install() { + vmkdir usr/share/$pkgname/examples + vcopy "*.lua" usr/share/$pkgname/examples +}