repository

Carbs Linux repositories
git clone git://git.carbslinux.org/repository
Log | Files | Refs | README | LICENSE

commit c77f9c105d3d1fa040bfa51fbcaa931fbedfdf93
parent 639b56dd7104351f77f9a92d0a9496a86b76dcf3
Author: Cem Keylan <cem@ckyln.com>
Date:   Sun, 28 Jun 2020 00:13:51 +0300

lua: add new package at 5.3.5

Diffstat:
Acommunity/lua/build | 34++++++++++++++++++++++++++++++++++
Acommunity/lua/checksums | 1+
Acommunity/lua/sources | 1+
Acommunity/lua/version | 1+
4 files changed, 37 insertions(+), 0 deletions(-)

diff --git a/community/lua/build 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 @@ -0,0 +1 @@ +0c2eed3f960446e1a3e4b9a1ca2f3ff893b6ce41942cf54d5dd59ab4b3b058ac lua-5.3.5.tar.gz diff --git a/community/lua/sources 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 @@ -0,0 +1 @@ +5.3.5 3