lua53: adopted port
This commit is contained in:
parent
b569550160
commit
54899bbf96
@ -1,6 +1,6 @@
|
||||
untrusted comment: verify with /etc/ports/opt.pub
|
||||
RWSE3ohX2g5d/Y/i26zmDARPNE6nyADwZ3k7ju7CKi/vZrfLd1K1EnptpQXJpNLkETA2IGxOl0K0LQW1V9IRqvAde+xCeDjhbwE=
|
||||
SHA256 (Pkgfile) = 609db43e6368d594428953c125bca2fe080a077d9a4e93d05cc069d79dd6aae6
|
||||
RWSE3ohX2g5d/bFKSWFybA4toHw4Jrzo7CMximadybVnQ/9mE+JwR+aryMxjEMKmL2scmXo6OdYuRba6MNUH+3MLnbsKzfcFaQ0=
|
||||
SHA256 (Pkgfile) = f259a7b37d76a3d7629205a62f5149fd04f9c811d9c7f7c9b30bfacc1a90ace2
|
||||
SHA256 (.footprint) = 80fadce262c8a7494b2edf9f6197a5c24f12157c2407e614fcfb1ab84cc1e130
|
||||
SHA256 (lua-5.3.6.tar.gz) = fc5fd69bb8736323f026672b1b7235da613d7177e72558893a0bdcd320466d60
|
||||
SHA256 (liblua.so.patch) = 2cc83c77423a2dda3696766b2d1ccee2796e052ab04d5178905f41ed9241a3d8
|
||||
|
@ -1,11 +1,11 @@
|
||||
# Description: A programming language designed for extending applications.
|
||||
# URL: https://www.lua.org/
|
||||
# Maintainer: Danny Rawlins, crux at romster dot me
|
||||
# Description: A programming language designed for extending applications
|
||||
# URL: https://www.lua.org
|
||||
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||||
# Depends on: readline
|
||||
|
||||
name=lua53
|
||||
version=5.3.6
|
||||
release=4
|
||||
release=5
|
||||
source=(https://www.lua.org/ftp/lua-$version.tar.gz
|
||||
liblua.so.patch lua.pc)
|
||||
|
||||
@ -16,15 +16,14 @@ build() {
|
||||
|
||||
sed -e "s/%VER%/${version%.*}/g;s/%REL%/$version/g" $SRC/lua.pc > lua.pc
|
||||
|
||||
# Lua 5.3.4 has wrong release version in its Makefile. Fix it.
|
||||
sed "s/^R= \$V.4/R= \$V.5/" -i Makefile
|
||||
|
||||
sed -e 's:llua:llua5.3:' -e 's:/include:/include/lua5.3:' -i lua.pc
|
||||
sed -r \
|
||||
-e '/^LUA_(SO|A|T)=/ s/lua/lua5.3/' \
|
||||
-e '/^LUAC_T=/ s/luac/luac5.3/' \
|
||||
-i src/Makefile
|
||||
|
||||
sed -i '/#define LUA_ROOT/s:/usr/local/:/usr/:' src/luaconf.h
|
||||
|
||||
make MYCFLAGS="$CFLAGS -fPIC" MYLDFLAGS="$LDFLAGS" linux
|
||||
|
||||
install -d $PKG/usr/include/lua5.3 $PKG/usr/share/man/man1 $PKG/usr/lib
|
||||
|
Loading…
x
Reference in New Issue
Block a user