pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/lua-curl lua-curl: Update to 0.3.11



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6a162a28e3cf
branches:  trunk
changeset: 401452:6a162a28e3cf
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Sep 17 20:16:32 2019 +0000

description:
lua-curl: Update to 0.3.11

0.3 introduces a new API while maintaining compat with the 0.2 API.

diffstat:

 www/lua-curl/Makefile |  38 +++++++++++++++++++++++++++-----------
 www/lua-curl/PLIST    |   8 ++++++--
 www/lua-curl/distinfo |  10 +++++-----
 3 files changed, 38 insertions(+), 18 deletions(-)

diffs (80 lines):

diff -r 27e10a9dccca -r 6a162a28e3cf www/lua-curl/Makefile
--- a/www/lua-curl/Makefile     Tue Sep 17 16:43:12 2019 +0000
+++ b/www/lua-curl/Makefile     Tue Sep 17 20:16:32 2019 +0000
@@ -1,22 +1,38 @@
-# $NetBSD: Makefile,v 1.25 2019/08/22 12:23:53 ryoon Exp $
+# $NetBSD: Makefile,v 1.26 2019/09/17 20:16:32 nia Exp $
 
-DISTNAME=      lua-curl-0.2
-PKGNAME=       ${LUA_PKGPREFIX}-curl-0.2
-PKGREVISION=   20
+DISTNAME=      lua-curl-0.3.11
+PKGNAME=       ${LUA_PKGPREFIX}-${DISTNAME:S/lua-//}
 CATEGORIES=    www
-MASTER_SITES=  http://luaforge.net/frs/download.php/2634/
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=Lua-cURL/}
+GITHUB_PROJECT=        Lua-cURLv3
+GITHUB_TAG=    v${PKGVERSION_NOREV}
 
 MAINTAINER=    agc%NetBSD.org@localhost
-#HOMEPAGE=     http://lua-curl.luaforge.net/
+HOMEPAGE=      https://github.com/Lua-cURL/Lua-cURLv3
 COMMENT=       Full lua bindings for libcurl
 LICENSE=       mit
 
-GNU_CONFIGURE= yes
-USE_LIBTOOL=   yes
-USE_LANGUAGES+=        c c++
-USE_TOOLS+=    pkg-config
+USE_TOOLS+=    gmake pkg-config
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} != "Darwin" && ${OPSYS} != "Linux"
+LDFLAGS+=      -shared
+.endif
 
-AUTO_MKDIRS=   yes
+MAKE_FLAGS+=   LUA_CMOD=${LUA_CDIR}
+MAKE_FLAGS+=   LUA_LMOD=${LUA_LDIR}
+MAKE_FLAGS+=   LUA_IMPL=lua-${_LUA_DOT_VERSION}
+
+INSTALLATION_DIRS+=    ${LUA_CDIR}
+INSTALLATION_DIRS+=    ${LUA_LDIR}/cURL/impl
+
+do-install:
+       ${INSTALL_LIB} ${WRKSRC}/lcurl.so ${DESTDIR}${PREFIX}/${LUA_CDIR}
+       ${INSTALL_DATA} ${WRKSRC}/src/lua/cURL.lua ${DESTDIR}${PREFIX}/${LUA_LDIR}
+       ${INSTALL_DATA} ${WRKSRC}/src/lua/cURL/safe.lua ${DESTDIR}${PREFIX}/${LUA_LDIR}/cURL
+       ${INSTALL_DATA} ${WRKSRC}/src/lua/cURL/utils.lua ${DESTDIR}${PREFIX}/${LUA_LDIR}/cURL
+       ${INSTALL_DATA} ${WRKSRC}/src/lua/cURL/impl/cURL.lua ${DESTDIR}${PREFIX}/${LUA_LDIR}/cURL/impl
 
 .include "../../www/curl/buildlink3.mk"
 .include "../../lang/lua/buildlink3.mk"
diff -r 27e10a9dccca -r 6a162a28e3cf www/lua-curl/PLIST
--- a/www/lua-curl/PLIST        Tue Sep 17 16:43:12 2019 +0000
+++ b/www/lua-curl/PLIST        Tue Sep 17 20:16:32 2019 +0000
@@ -1,2 +1,6 @@
-@comment $NetBSD: PLIST,v 1.2 2013/09/17 12:03:42 joerg Exp $
-${LUA_CDIR}/cURL.la
+@comment $NetBSD: PLIST,v 1.3 2019/09/17 20:16:32 nia Exp $
+${LUA_CDIR}/lcurl.so
+${LUA_LDIR}/cURL.lua
+${LUA_LDIR}/cURL/impl/cURL.lua
+${LUA_LDIR}/cURL/safe.lua
+${LUA_LDIR}/cURL/utils.lua
diff -r 27e10a9dccca -r 6a162a28e3cf www/lua-curl/distinfo
--- a/www/lua-curl/distinfo     Tue Sep 17 16:43:12 2019 +0000
+++ b/www/lua-curl/distinfo     Tue Sep 17 20:16:32 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2015/11/04 02:46:57 agc Exp $
+$NetBSD: distinfo,v 1.3 2019/09/17 20:16:32 nia Exp $
 
-SHA1 (lua-curl-0.2.tar.gz) = 875d8578972187a86e7c59e18d4c10b7e11707cc
-RMD160 (lua-curl-0.2.tar.gz) = f4950cc7e0c29f51e750c78c7995ee893b399d96
-SHA512 (lua-curl-0.2.tar.gz) = 9594a85fb37c962bfe2edbbe90a4ce1ebe5d20097bb64ee6e7c106d0975fe0251d272d61b3044f72fbca82a989180dd1f414fc6599c2065a6367278e6b781b9c
-Size (lua-curl-0.2.tar.gz) = 326984 bytes
+SHA1 (lua-curl-0.3.11.tar.gz) = 97f1b92d0e07ceb34fc46edc8b8101c9645395a7
+RMD160 (lua-curl-0.3.11.tar.gz) = 0864e827de7e39b142b4246640dd57373559e9c1
+SHA512 (lua-curl-0.3.11.tar.gz) = 5b200463e481a1fdb6f05c87e25690bddc58e45e2c48e32eafaebd55d667771b1556aafa3f208ff5cb874dbe66b0850f52210cb60e223503ad22fe37b92b3b93
+Size (lua-curl-0.3.11.tar.gz) = 94249 bytes



Home | Main Index | Thread Index | Old Index