From c77f9c105d3d1fa040bfa51fbcaa931fbedfdf93 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Sun, 28 Jun 2020 00:13:51 +0300 Subject: lua: add new package at 5.3.5 --- community/lua/build | 34 ++++++++++++++++++++++++++++++++++ community/lua/checksums | 1 + community/lua/sources | 1 + community/lua/version | 1 + 4 files changed, 37 insertions(+) create mode 100755 community/lua/build create mode 100644 community/lua/checksums create mode 100644 community/lua/sources create mode 100644 community/lua/version (limited to 'community') diff --git a/community/lua/build b/community/lua/build new file mode 100755 index 00000000..f41732a5 --- /dev/null +++ b/community/lua/build @@ -0,0 +1,34 @@ +#!/bin/sh -e + +make MYCFLAGS="$CFLAGS -fPIC" \ + MYLDFLAGS="$LDFLAGS -static" \ + posix + +make INSTALL_TOP="$1/usr" \ + INSTALL_MAN="$1/usr/share/man/man1" \ + INSTALL_DATA="cp -d" \ + install + +mkdir -p "$1/usr/lib/pkgconfig" +cat < "$1/usr/lib/pkgconfig/lua.pc" +V=${2%.*} +R=$2 + +prefix=/usr +INSTALL_BIN=\${prefix}/bin +INSTALL_INC=\${prefix}/include +INSTALL_LIB=\${prefix}/lib +INSTALL_MAN=\${prefix}/man/man1 +INSTALL_LMOD=\${prefix}/share/lua/\${V} +INSTALL_CMOD=\${prefix}/lib/lua/\${V} +exec_prefix=\${prefix} +libdir=\${exec_prefix}/lib +includedir=\${prefix}/include + +Name: Lua +Description: An Extensible Extension Language +Version: \${R} +Requires: +Libs: -L\${libdir} -llua -lm +Cflags: -I\${includedir} +EOF diff --git a/community/lua/checksums b/community/lua/checksums new file mode 100644 index 00000000..ddbb62f3 --- /dev/null +++ b/community/lua/checksums @@ -0,0 +1 @@ +0c2eed3f960446e1a3e4b9a1ca2f3ff893b6ce41942cf54d5dd59ab4b3b058ac lua-5.3.5.tar.gz diff --git a/community/lua/sources b/community/lua/sources new file mode 100644 index 00000000..4123771f --- /dev/null +++ b/community/lua/sources @@ -0,0 +1 @@ +https://www.lua.org/ftp/lua-5.3.5.tar.gz diff --git a/community/lua/version b/community/lua/version new file mode 100644 index 00000000..5e4a719d --- /dev/null +++ b/community/lua/version @@ -0,0 +1 @@ +5.3.5 3 -- cgit v1.2.3