lua51-luasocket: update to 3.1.0.
This commit is contained in:
parent
ebf08433c1
commit
6d5bb20344
|
@ -1,13 +0,0 @@
|
|||
--- a/config 2007-10-15 08:21:05.000000000 +0400
|
||||
+++ b/config 2007-10-15 12:22:16.000000000 +0400
|
||||
@@ -30,8 +30,8 @@
|
||||
#
|
||||
#INSTALL_TOP_SHARE=/usr/local/share/lua/5.0
|
||||
#INSTALL_TOP_LIB=/usr/local/lib/lua/5.0
|
||||
-INSTALL_TOP_SHARE=/usr/local/share/lua/5.1
|
||||
-INSTALL_TOP_LIB=/usr/local/lib/lua/5.1
|
||||
+INSTALL_TOP_SHARE=$(DESTDIR)/usr/share/lua/5.1
|
||||
+INSTALL_TOP_LIB=$(DESTDIR)/usr/lib/lua/5.1
|
||||
|
||||
INSTALL_DATA=cp
|
||||
INSTALL_EXEC=cp
|
|
@ -1,31 +0,0 @@
|
|||
--- a/makefile 2007-10-15 04:21:05.000000000 +0000
|
||||
+++ b/makefile 2011-03-09 12:00:54.000000000 +0000
|
||||
@@ -10,6 +10,8 @@
|
||||
INSTALL_SOCKET_LIB=$(INSTALL_TOP_LIB)/socket
|
||||
INSTALL_MIME_SHARE=$(INSTALL_TOP_SHARE)/mime
|
||||
INSTALL_MIME_LIB=$(INSTALL_TOP_LIB)/mime
|
||||
+#
|
||||
+INSTALL_UNIX_LIB=$(INSTALL_SOCKET_LIB)
|
||||
|
||||
all clean:
|
||||
cd src; $(MAKE) $@
|
||||
@@ -45,6 +47,8 @@
|
||||
#cd src; $(INSTALL_DATA) $(TO_MIME_SHARE) $(INSTALL_MIME_SHARE)
|
||||
cd src; mkdir -p $(INSTALL_MIME_LIB)
|
||||
cd src; $(INSTALL_EXEC) $(MIME_SO) $(INSTALL_MIME_LIB)/core.$(EXT)
|
||||
+ cd src; install -d $(INSTALL_UNIX_LIB)
|
||||
+ cd src; $(INSTALL_EXEC) $(UNIX_SO) $(INSTALL_UNIX_LIB)/$(UNIX_SO)
|
||||
|
||||
#------
|
||||
# End of makefile
|
||||
--- a/src/makefile 2007-10-15 04:21:05.000000000 +0000
|
||||
+++ b/src/makefile 2011-03-09 12:02:25.000000000 +0000
|
||||
@@ -47,7 +47,7 @@
|
||||
usocket.o \
|
||||
unix.o
|
||||
|
||||
-all: $(SOCKET_SO) $(MIME_SO)
|
||||
+all: $(SOCKET_SO) $(MIME_SO) $(UNIX_SO)
|
||||
|
||||
$(SOCKET_SO): $(SOCKET_OBJS)
|
||||
$(LD) $(LDFLAGS) -o $@ $(SOCKET_OBJS)
|
|
@ -1,23 +1,26 @@
|
|||
# Template file for 'lua51-luasocket'
|
||||
pkgname=lua51-luasocket
|
||||
version=2.0.2
|
||||
revision=7
|
||||
version=3.1.0
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
build_wrksrc=src
|
||||
makedepends="lua51-devel"
|
||||
depends="lua51"
|
||||
short_desc="Network support for the Lua language"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="MIT"
|
||||
homepage="http://w3.impa.br/~diego/software/luasocket/"
|
||||
distfiles="http://luaforge.net/frs/download.php/2664/luasocket-${version}.tar.gz"
|
||||
checksum=0e3f277487e7db8c714b07c0dfb1bd934e5242bc786def8b0334e8e1dd82c1fe
|
||||
homepage="https://lunarmodules.github.io/luasocket/"
|
||||
distfiles="https://github.com/lunarmodules/luasocket/archive/refs/tags/v3.1.0.tar.gz"
|
||||
checksum=bf033aeb9e62bcaa8d007df68c119c966418e8c9ef7e4f2d7e96bddeca9cca6e
|
||||
|
||||
do_build() {
|
||||
make CC=$CC LD=$CC LUAINC=-I${XBPS_CROSS_BASE}/usr/include/lua5.1 ${makejobs}
|
||||
make CC=$CC LD=$CC LUAINC=${XBPS_CROSS_BASE}/usr/include/lua5.1 \
|
||||
PLAT=linux LUAVER=5.1 \
|
||||
${makejobs} all-unix
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
vlicense ../LICENSE
|
||||
}
|
||||
|
||||
luasocket_package() {
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
site="https://github.com/diegonehab/luasocket/tags"
|
||||
pattern='archive/v\K[\d\w-.]+(?=\.tar\.gz)'
|
||||
ignore="*rc*"
|
Loading…
Reference in New Issue