mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
new package:
- add lua for upcoming enna
This commit is contained in:
parent
f7416e15f8
commit
6aa330339e
21
packages/other/lua/build
Normal file
21
packages/other/lua/build
Normal file
@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
$SCRIPTS/build toolchain
|
||||
$SCRIPTS/build readline
|
||||
$SCRIPTS/build ncurses
|
||||
|
||||
cd $PKG_BUILD
|
||||
make linux CC="$CC" \
|
||||
AR="$AR rcu" \
|
||||
RANLIB="$RANLIB" \
|
||||
CFLAGS="$CFLAGS -DLUA_USE_LINUX"
|
||||
|
||||
cp src/lua.h src/luaconf.h src/lualib.h src/lauxlib.h "$SYSROOT_PREFIX/usr/include"
|
||||
cp src/liblua.a "$SYSROOT_PREFIX/usr/lib"
|
||||
|
||||
mkdir -p $SYSROOT_PREFIX/usr/lib/pkgconfig
|
||||
cp etc/lua.pc "$SYSROOT_PREFIX/usr/lib/pkgconfig"
|
||||
|
||||
# sed -i "s%^prefix=.*%prefix= $SYSROOT_PREFIX/usr%" "$SYSROOT_PREFIX/usr/lib/pkgconfig/lua.pc"
|
1
packages/other/lua/url
Normal file
1
packages/other/lua/url
Normal file
@ -0,0 +1 @@
|
||||
http://www.lua.org/ftp/lua-5.1.4.tar.gz
|
Loading…
x
Reference in New Issue
Block a user