pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/lua-curl



Module Name:    pkgsrc
Committed By:   nia
Date:           Tue Sep 17 20:16:32 UTC 2019

Modified Files:
        pkgsrc/www/lua-curl: Makefile PLIST distinfo

Log Message:
lua-curl: Update to 0.3.11

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


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 pkgsrc/www/lua-curl/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/www/lua-curl/PLIST \
    pkgsrc/www/lua-curl/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/lua-curl/Makefile
diff -u pkgsrc/www/lua-curl/Makefile:1.25 pkgsrc/www/lua-curl/Makefile:1.26
--- pkgsrc/www/lua-curl/Makefile:1.25   Thu Aug 22 12:23:53 2019
+++ pkgsrc/www/lua-curl/Makefile        Tue Sep 17 20:16:32 2019
@@ -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
 
-AUTO_MKDIRS=   yes
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} != "Darwin" && ${OPSYS} != "Linux"
+LDFLAGS+=      -shared
+.endif
+
+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"

Index: pkgsrc/www/lua-curl/PLIST
diff -u pkgsrc/www/lua-curl/PLIST:1.2 pkgsrc/www/lua-curl/PLIST:1.3
--- pkgsrc/www/lua-curl/PLIST:1.2       Tue Sep 17 12:03:42 2013
+++ pkgsrc/www/lua-curl/PLIST   Tue Sep 17 20:16:32 2019
@@ -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
Index: pkgsrc/www/lua-curl/distinfo
diff -u pkgsrc/www/lua-curl/distinfo:1.2 pkgsrc/www/lua-curl/distinfo:1.3
--- pkgsrc/www/lua-curl/distinfo:1.2    Wed Nov  4 02:46:57 2015
+++ pkgsrc/www/lua-curl/distinfo        Tue Sep 17 20:16:32 2019
@@ -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