wok-next rev 21152
Update lua-socket, prosody, luajit.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 31 10:34:36 2019 +0200 (2019-01-31) |
parents | 4aacc1d41df5 |
children | 23982d05637c |
files | lua-socket/.icon.png lua-socket/receipt luajit/.icon.png luajit/receipt luasocket/receipt luasocket/stuff/patches/patch.diff luasocket/stuff/patches/series prosody/.icon.png prosody/receipt prosody/stuff/overrides |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/lua-socket/.icon.png Thu Jan 31 10:34:36 2019 +0200 1.3 @@ -0,0 +1,1 @@ 1.4 +../lua53/.icon.png 1.5 \ No newline at end of file
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/lua-socket/receipt Thu Jan 31 10:34:36 2019 +0200 2.3 @@ -0,0 +1,59 @@ 2.4 +# SliTaz package receipt v2. 2.5 + 2.6 +PACKAGE="lua-socket" 2.7 +VERSION="3.0-rc1" 2.8 +CATEGORY="system-tools" 2.9 +SHORT_DESC="Network support for the Lua language" 2.10 +MAINTAINER="devel@slitaz.org" 2.11 +LICENSE="MIT" 2.12 +WEB_SITE="https://github.com/diegonehab/luasocket" 2.13 +REPOLOGY="lua:socket" 2.14 + 2.15 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.16 +WGET_URL="https://github.com/diegonehab/luasocket/archive/v$VERSION.tar.gz" 2.17 +TARBALL_SHA1="aff9122b26c01487c06a32133df78c1506af350f" 2.18 + 2.19 +BUILD_DEPENDS="lua51-dev lua52-dev lua53-dev" 2.20 +SPLIT="lua51-socket:5.1 lua52-socket:5.2 lua53-socket:5.3" 2.21 + 2.22 +COPY_lua51_socket="@std" 2.23 +COPY_lua52_socket="@std" 2.24 +COPY_lua53_socket="@std" 2.25 + 2.26 +DEPENDS_lua51_socket="lua51" 2.27 +DEPENDS_lua52_socket="lua52" 2.28 +DEPENDS_lua53_socket="lua53" 2.29 + 2.30 +CAT_std="nopack|" 2.31 +CAT_lua51_socket="system-tools|for Lua 5.1" 2.32 +CAT_lua52_socket="system-tools|for Lua 5.2" 2.33 +CAT_lua53_socket="system-tools|for Lua 5.3" 2.34 + 2.35 +compile_rules() { 2.36 + if [ -z "$SET" ]; then 2.37 + cook_pick_docs $src/doc/* 2.38 + return 2.39 + fi 2.40 + 2.41 + case $ARCH in 2.42 + x86_64) CFLAGS="$CFLAGS -fPIC";; 2.43 + esac 2.44 + 2.45 + # get variables from .pc file 2.46 + pc="lua${SET/./}" 2.47 + includedir=$(pkg-config --variable=includedir $pc) 2.48 + install_lmod=$(pkg-config --variable=INSTALL_LMOD $pc) 2.49 + install_cmod=$(pkg-config --variable=INSTALL_CMOD $pc) 2.50 + 2.51 + make \ 2.52 + LUAV="$SET" \ 2.53 + prefix=/usr \ 2.54 + LUAINC_linux=$includedir \ 2.55 + && 2.56 + make \ 2.57 + prefix=/usr \ 2.58 + INSTALL_TOP_SHARE=$install$install_lmod \ 2.59 + INSTALL_TOP_LIB=$install$install_cmod \ 2.60 + DESTDIR=$install \ 2.61 + install 2.62 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/luajit/.icon.png Thu Jan 31 10:34:36 2019 +0200 3.3 @@ -0,0 +1,1 @@ 3.4 +../lua53/.icon.png 3.5 \ No newline at end of file
4.1 --- a/luajit/receipt Thu Jan 31 00:34:43 2019 +0200 4.2 +++ b/luajit/receipt Thu Jan 31 10:34:36 2019 +0200 4.3 @@ -1,26 +1,20 @@ 4.4 # SliTaz package receipt v2. 4.5 4.6 PACKAGE="luajit" 4.7 -VERSION="2.0.3" 4.8 +VERSION="2.0.5" 4.9 CATEGORY="development" 4.10 -SHORT_DESC="Just-In-Time Compiler for Lua" 4.11 +SHORT_DESC="Just-In-Time Compiler for Lua 5.1" 4.12 MAINTAINER="devel@slitaz.org" 4.13 LICENSE="MIT" 4.14 WEB_SITE="http://luajit.org/" 4.15 4.16 TARBALL="LuaJIT-$VERSION.tar.gz" 4.17 WGET_URL="http://luajit.org/download/$TARBALL" 4.18 +TARBALL_SHA1="10427215da7d424fd9e48adbea087966053cdb6f" 4.19 4.20 SPLIT="$PACKAGE-dev" 4.21 4.22 compile_rules() { 4.23 make PREFIX=/usr amalg && 4.24 - make DESTDIR=$install PREFIX=/usr install 4.25 + make PREFIX=/usr DESTDIR=$install install 4.26 } 4.27 - 4.28 -genpkg_rules() { 4.29 - case $PACKAGE in 4.30 - luajit) copy @std;; 4.31 - *-dev) copy @dev;; 4.32 - esac 4.33 -}
5.1 --- a/luasocket/receipt Thu Jan 31 00:34:43 2019 +0200 5.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 5.3 @@ -1,27 +0,0 @@ 5.4 -# SliTaz package receipt. 5.5 - 5.6 -PACKAGE="luasocket" 5.7 -VERSION="2.0.2" 5.8 -CATEGORY="development" 5.9 -SHORT_DESC="Network support for the Lua language" 5.10 -MAINTAINER="devel@slitaz.org" 5.11 -LICENSE="MIT" 5.12 -WEB_SITE="http://w3.impa.br/~diego/software/luasocket/home.html" 5.13 -REPOLOGY="lua:socket" 5.14 - 5.15 -TARBALL="$PACKAGE-$VERSION.tar.gz" 5.16 -WGET_URL="http://luaforge.net/frs/download.php/2664/$TARBALL" 5.17 - 5.18 -BUILD_DEPENDS="lua5.1-dev" 5.19 - 5.20 -compile_rules() { 5.21 - make CFLAGS="$CFLAGS -I/usr/include/lua/5.1" && 5.22 - make DESTDIR=$install install 5.23 -} 5.24 - 5.25 -genpkg_rules() { 5.26 - mkdir -p $fs/usr/share 5.27 - cp -a $install/usr/lib $fs/usr 5.28 - cp -a $install/usr/share/lua $fs/usr/share 5.29 - DEPENDS="lua5.1" 5.30 -}
6.1 --- a/luasocket/stuff/patches/patch.diff Thu Jan 31 00:34:43 2019 +0200 6.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 6.3 @@ -1,14 +0,0 @@ 6.4 -diff -wbBur luasocket-2.0.2/config luasocket-2.0.2.my/config 6.5 ---- luasocket-2.0.2/config 2007-10-15 08:21:05.000000000 +0400 6.6 -+++ luasocket-2.0.2.my/config 2007-10-15 12:22:16.000000000 +0400 6.7 -@@ -30,8 +30,8 @@ 6.8 - # 6.9 - #INSTALL_TOP_SHARE=/usr/local/share/lua/5.0 6.10 - #INSTALL_TOP_LIB=/usr/local/lib/lua/5.0 6.11 --INSTALL_TOP_SHARE=/usr/local/share/lua/5.1 6.12 --INSTALL_TOP_LIB=/usr/local/lib/lua/5.1 6.13 -+INSTALL_TOP_SHARE=$(DESTDIR)/usr/share/lua/5.1 6.14 -+INSTALL_TOP_LIB=$(DESTDIR)/usr/lib/lua/5.1 6.15 - 6.16 - INSTALL_DATA=cp 6.17 - INSTALL_EXEC=cp
7.1 --- a/luasocket/stuff/patches/series Thu Jan 31 00:34:43 2019 +0200 7.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 7.3 @@ -1,1 +0,0 @@ 7.4 --p1|patch.diff
8.1 Binary file prosody/.icon.png has changed
9.1 --- a/prosody/receipt Thu Jan 31 00:34:43 2019 +0200 9.2 +++ b/prosody/receipt Thu Jan 31 10:34:36 2019 +0200 9.3 @@ -1,18 +1,20 @@ 9.4 # SliTaz package receipt. 9.5 9.6 PACKAGE="prosody" 9.7 -VERSION="0.9.14" 9.8 +VERSION="0.11.2" 9.9 CATEGORY="network" 9.10 -SHORT_DESC="xmpp-jabber server in lua" 9.11 -MAINTAINER="allan316@gmail.com" 9.12 +SHORT_DESC="Lua based Jabber/XMPP server" 9.13 +MAINTAINER="al.bobylev@gmail.com" 9.14 LICENSE="MIT" 9.15 -WEB_SITE="http://prosody.im/" 9.16 +WEB_SITE="https://prosody.im/" 9.17 +HOST_ARCH="any" 9.18 9.19 TARBALL="$PACKAGE-$VERSION.tar.gz" 9.20 WGET_URL="$WEB_SITE/downloads/source/$TARBALL" 9.21 +TARBALL_SHA1="0508cfc1c3c74a7eb8fdac2ed50435e190930f6a" 9.22 9.23 -BUILD_DEPENDS="lua5.1-dev libidn-dev openssl-dev lua53-expat luasocket \ 9.24 -lua53-filesystem libidn-dev libcrypto" 9.25 +BUILD_DEPENDS="lua53-dev openssl-dev libidn-dev" 9.26 +DEPENDS="libidn openssl lua53 lua53-expat lua53-socket lua53-filesystem" 9.27 9.28 compile_rules() { 9.29 ./configure \ 9.30 @@ -23,13 +25,10 @@ 9.31 --with-lua=/usr \ 9.32 --with-lua-lib=/usr/lib \ 9.33 --runwith=lua53 \ 9.34 - --with-lua-include=/usr/include/lua/5.3 && 9.35 + --with-lua-include=$(pkg-config --variable=includedir lua53) \ 9.36 + && 9.37 make && 9.38 - make DESTDIR=$install install 9.39 + make install || return 1 9.40 + 9.41 + chown -R 0:0 $install 9.42 } 9.43 - 9.44 -genpkg_rules() { 9.45 - copy @std 9.46 - DEPENDS="lua5.1 libidn openssl lua53-expat luasocket lua53-filesystem libidn \ 9.47 - libcrypto" 9.48 -}