wok diff lua-readline/receipt @ rev 25817
Update kernel config for support mmc tablet
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Mon Mar 03 12:26:15 2025 +0100 (3 months ago) |
parents | a66f312c374b |
children |
line diff
1.1 --- a/lua-readline/receipt Wed Feb 28 11:10:12 2024 +0000 1.2 +++ b/lua-readline/receipt Mon Mar 03 12:26:15 2025 +0100 1.3 @@ -1,16 +1,15 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="lua-readline" 1.7 -GITHASH="849af12564a00f0db43080a4a542aa1c20a677e2" 1.8 -VERSION="20190930" 1.9 +VERSION="3.3-0" 1.10 CATEGORY="development" 1.11 SHORT_DESC="GNU readline binding for Lua." 1.12 MAINTAINER="maintainer@slitaz.org" 1.13 LICENSE="MIT" 1.14 -WEB_SITE="https://github.com/hleuwer/readline/" 1.15 +WEB_SITE="https://peterbillam.gitlab.io/pjb_lua/lua/readline.html" 1.16 1.17 TARBALL="$PACKAGE-$VERSION.zip" 1.18 -WGET_URL="${WEB_SITE}archive/$GITHASH.zip" 1.19 +WGET_URL="http://luarocks.org/manifests/peterbillam/readline-$VERSION.src.rock" 1.20 1.21 SUGGESTED="lua" 1.22 BUILD_DEPENDS="lua-dev readline-dev" 1.23 @@ -18,14 +17,19 @@ 1.24 # What is the latest version available today? 1.25 current_version() 1.26 { 1.27 - wget -O - https://github.com/hleuwer/readline/commits/master 2>/dev/null | \ 1.28 - sed 's|",|&\n|g' | sed '/committedDate/!d;s|.*":"||;s|T.*||;s|-||g;q' 1.29 + wget -O - http://luarocks.org/modules/peterbillam/readline 2>/dev/null | \ 1.30 + sed 's|<div|\n&|g' | sed '/readline\/[0-9]/!d;s|.*line/||;s|".*||;q' 1.31 } 1.32 1.33 # Rules to configure and make the package. 1.34 compile_rules() 1.35 { 1.36 - make 1.37 + tar xzf readline*.tar.gz 1.38 + cd readline-${VERSION%-*} 1.39 + gcc -MMD -MF ../lreadline.d -c -march=i486 -Os -pipe -fomit-frame-pointer \ 1.40 + -I/usr/include/lua5.1 -Icompat-5.1r5 -DCOMPAT_H -DVERSION='"1.0"' \ 1.41 + -pedantic -Wall -O2 -fPIC -o ../lreadline.o C-readline.c 1.42 + gcc -O2 -shared -o ../readline.so ../lreadline.o -lreadline -lhistory 1.43 } 1.44 1.45 # Rules to gen a SliTaz package suitable for Tazpkg. 1.46 @@ -33,5 +37,5 @@ 1.47 { 1.48 # lua-dev is version 5.2 1.49 mkdir -p $fs/usr/lib/lua/5.2 1.50 - cp -a $src/Release/readline.so $fs/usr/lib/lua/5.2 1.51 + cp -a $src/readline.so $fs/usr/lib/lua/5.2 1.52 }