1
0
forked from ports/opt

lua52: adopted port

This commit is contained in:
Tim Biermann 2023-08-27 17:52:21 +02:00
parent 97580e5496
commit b569550160
Signed by untrusted user: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 35 additions and 33 deletions

View File

@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/Yy7F/+N2jEOhubUt8lfr5Q6E23gU/6dGngCupWEoK3d+JST8JIQ8gFEIwuQ0PkSRRgmwp/RkZieDzf0VyaB1Aw=
SHA256 (Pkgfile) = 404c4578fa263ae63d7ea95ebdafb9c514703233bcf3e18ff63063dee937af7b
RWSE3ohX2g5d/fhiumEmPpAiTmKTvcf2y4/ZIR+SfpQG9/HW99pHlzhMiMfjGGaQ4eS6+QzAQkTD7jamyw/JLaBwnAvfA0UAAwQ=
SHA256 (Pkgfile) = ec9ccd096f9bb8d7e2b695cbe439cce797364f961a670acffb5a68f752e2c404
SHA256 (.footprint) = c2f5517f192c7c7ed4511899abf30b7ee966d96bc1295c5cc401e0137b9dd798
SHA256 (lua-5.2.4.tar.gz) = b9e2e4aad6789b3b63a056d442f7b39f0ecfca3ae0f1fc0ae4e9614401b69f4b
SHA256 (lua.diff) = e9638e7767244b1f4991088b3786f1a36235935b3161690d2b2e188a896fc1af

View File

@ -1,11 +1,11 @@
# Description: A programming language designed for extending applications.
# URL: http://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=lua52
version=5.2.4
release=3
release=4
source=(http://www.lua.org/ftp/lua-$version.tar.gz
lua.diff lua-5.2-cflags.diff lua.pc)
@ -23,6 +23,8 @@ build() {
-e '/^LUAC_T=/ s/luac/luac5.2/' \
-i src/Makefile
sed -i '/#define LUA_ROOT/s:/usr/local/:/usr/:' src/luaconf.h
make MYCFLAGS="$CFLAGS" MYLDFLAGS="$LDFLAGS" linux
install -d $PKG/usr/include/lua5.2 $PKG/usr/share/man/man1 $PKG/usr/lib