pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel



Module Name:    pkgsrc
Committed By:   maya
Date:           Tue Nov 20 17:26:20 UTC 2018

Modified Files:
        pkgsrc/devel: Makefile
Added Files:
        pkgsrc/devel/lua-bitlib: DESCR Makefile PLIST distinfo

Log Message:
Add lua-bitlib

bit32 is the native Lua 5.2 bit manipulation library, in the version
from Lua 5.3; it is compatible with Lua 5.1, 5.2 and 5.3.

>From Edgar Fuß in PR pkg/53600


To generate a diff of this commit:
cvs rdiff -u -r1.2755 -r1.2756 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/lua-bitlib/DESCR \
    pkgsrc/devel/lua-bitlib/Makefile pkgsrc/devel/lua-bitlib/PLIST \
    pkgsrc/devel/lua-bitlib/distinfo

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

Modified files:

Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.2755 pkgsrc/devel/Makefile:1.2756
--- pkgsrc/devel/Makefile:1.2755        Sun Nov 18 08:18:59 2018
+++ pkgsrc/devel/Makefile       Tue Nov 20 17:26:20 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2755 2018/11/18 08:18:59 ryoon Exp $
+# $NetBSD: Makefile,v 1.2756 2018/11/20 17:26:20 maya Exp $
 #
 
 COMMENT=       Development utilities
@@ -714,6 +714,7 @@ SUBDIR+=    lokalize
 SUBDIR+=       ltsa
 SUBDIR+=       lua-BitOp
 SUBDIR+=       lua-alt-getopt
+SUBDIR+=       lua-bitlib
 SUBDIR+=       lua-coxpcall
 SUBDIR+=       lua-filesystem
 SUBDIR+=       lua-gi

Added files:

Index: pkgsrc/devel/lua-bitlib/DESCR
diff -u /dev/null pkgsrc/devel/lua-bitlib/DESCR:1.1
--- /dev/null   Tue Nov 20 17:26:20 2018
+++ pkgsrc/devel/lua-bitlib/DESCR       Tue Nov 20 17:26:20 2018
@@ -0,0 +1,2 @@
+bit32 is the native Lua 5.2 bit manipulation library, in the version
+from Lua 5.3; it is compatible with Lua 5.1, 5.2 and 5.3.
Index: pkgsrc/devel/lua-bitlib/Makefile
diff -u /dev/null pkgsrc/devel/lua-bitlib/Makefile:1.1
--- /dev/null   Tue Nov 20 17:26:20 2018
+++ pkgsrc/devel/lua-bitlib/Makefile    Tue Nov 20 17:26:20 2018
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1 2018/11/20 17:26:20 maya Exp $
+
+DISTNAME=              bitlib-5.3.0
+PKGNAME=               ${LUA_PKGPREFIX}-${DISTNAME}
+GITHUB_PROJECT=                lua-compat-5.2
+GITHUB_TAG=            ${DISTNAME}
+MASTER_SITES=          ${MASTER_SITE_GITHUB:=keplerproject/}
+
+CATEGORIES=            devel
+COMMENT=               Lua 5.2 bit manipulation library
+MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
+
+HOMEPAGE=              https://github.com/keplerproject/lua-compat-5.2
+LICENSE=               mit
+
+LUA_VERSIONS_ACCEPTED= 51
+
+NO_CONFIGURE=          yes
+
+INSTALLATION_DIRS+=    ${LUA_CDIR}/bit32
+
+.include "../../lang/lua/module.mk"
+
+do-build:
+       ${CC} ${CFLAGS} -fPIC -c -I ${WRKSRC}/c-api ${WRKSRC}/lbitlib.c -o ${WRKSRC}/bit32.o
+       ${LD} ${LDFLAGS} -fPIC -shared ${WRKSRC}/bit32.o -o ${WRKSRC}/bit32.so
+
+do-install:
+       ${INSTALL_SCRIPT} ${WRKSRC}/bit32.so \
+                       ${DESTDIR}${PREFIX}/${LUA_CDIR}
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/lua-bitlib/PLIST
diff -u /dev/null pkgsrc/devel/lua-bitlib/PLIST:1.1
--- /dev/null   Tue Nov 20 17:26:20 2018
+++ pkgsrc/devel/lua-bitlib/PLIST       Tue Nov 20 17:26:20 2018
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2018/11/20 17:26:20 maya Exp $
+${LUA_CDIR}/bit32.so
Index: pkgsrc/devel/lua-bitlib/distinfo
diff -u /dev/null pkgsrc/devel/lua-bitlib/distinfo:1.1
--- /dev/null   Tue Nov 20 17:26:20 2018
+++ pkgsrc/devel/lua-bitlib/distinfo    Tue Nov 20 17:26:20 2018
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/11/20 17:26:20 maya Exp $
+
+SHA1 (bitlib-5.3.0.tar.gz) = 995834b630a64c31fb77b08b5f75b950d31918c5
+RMD160 (bitlib-5.3.0.tar.gz) = cf09dee8e2e18c8f0ae11e1886db1713b7edfef1
+SHA512 (bitlib-5.3.0.tar.gz) = 234807e201197bc27720864a328f5b63a9fe8bf88bf1fb64cd178532c0745a330b23455fcff0e50d365034f3e43af3c835de7f10a685275da66a7a1ca873e90a
+Size (bitlib-5.3.0.tar.gz) = 21884 bytes



Home | Main Index | Thread Index | Old Index