diff options
author | Cem Keylan <cem@ckyln.com> | 2020-06-28 00:13:51 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-06-28 00:13:51 +0300 |
commit | c77f9c105d3d1fa040bfa51fbcaa931fbedfdf93 (patch) | |
tree | 66ece8b7f49d50b40ce7f2ebbf6adbafc3a798ec /community/lua | |
parent | 639b56dd7104351f77f9a92d0a9496a86b76dcf3 (diff) | |
download | repository-c77f9c105d3d1fa040bfa51fbcaa931fbedfdf93.tar.gz |
lua: add new package at 5.3.5
Diffstat (limited to 'community/lua')
-rwxr-xr-x | community/lua/build | 34 | ||||
-rw-r--r-- | community/lua/checksums | 1 | ||||
-rw-r--r-- | community/lua/sources | 1 | ||||
-rw-r--r-- | community/lua/version | 1 |
4 files changed, 37 insertions, 0 deletions
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 <<EOF> "$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 |