Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/geography geography: Add lua-mmdb



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b23b774046a8
branches:  trunk
changeset: 435561:b23b774046a8
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu Jul 09 10:48:58 2020 +0000

description:
geography: Add lua-mmdb

A Lua library for reading MaxMind's Geolocation database format.

diffstat:

 geography/Makefile          |   3 ++-
 geography/lua-mmdb/DESCR    |   1 +
 geography/lua-mmdb/Makefile |  28 ++++++++++++++++++++++++++++
 geography/lua-mmdb/PLIST    |   3 +++
 geography/lua-mmdb/distinfo |   6 ++++++
 5 files changed, 40 insertions(+), 1 deletions(-)

diffs (71 lines):

diff -r b5433f46a4b3 -r b23b774046a8 geography/Makefile
--- a/geography/Makefile        Thu Jul 09 10:46:24 2020 +0000
+++ b/geography/Makefile        Thu Jul 09 10:48:58 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.79 2020/03/21 18:59:56 adam Exp $
+# $NetBSD: Makefile,v 1.80 2020/07/09 10:48:58 nia Exp $
 #
 
 COMMENT=       Software for geographical-related uses
@@ -29,6 +29,7 @@
 SUBDIR+=       libmemphis02
 SUBDIR+=       libnova
 SUBDIR+=       libspatialite
+SUBDIR+=       lua-mmdb
 SUBDIR+=       mapcode
 SUBDIR+=       mapserver
 SUBDIR+=       merkaartor
diff -r b5433f46a4b3 -r b23b774046a8 geography/lua-mmdb/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/geography/lua-mmdb/DESCR  Thu Jul 09 10:48:58 2020 +0000
@@ -0,0 +1,1 @@
+A Lua library for reading MaxMind's Geolocation database format.
diff -r b5433f46a4b3 -r b23b774046a8 geography/lua-mmdb/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/geography/lua-mmdb/Makefile       Thu Jul 09 10:48:58 2020 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2020/07/09 10:48:58 nia Exp $
+
+DISTNAME=      mmdblua-0.2
+PKGNAME=       ${LUA_PKGPREFIX}-${DISTNAME:S/lua-/-/1}
+CATEGORIES=    geography lua
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=daurnimator/}
+GITHUB_PROJECT=        mmdblua
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/daurnimator/mmdblua
+COMMENT=       MaxMind Geolocation database format parser for Lua
+LICENSE=       mit
+
+NO_BUILD=      yes
+USE_LANGUAGES= # none
+
+INSTALLATION_DIRS+=    share/doc/${PKGNAME_NOREV}
+INSTALLATION_DIRS+=    ${LUA_LDIR}/mmdb
+
+do-install:
+       ${INSTALL_DATA} ${WRKSRC}/example.lua \
+               ${DESTDIR}${PREFIX}/share/doc/${PKGNAME_NOREV}/example.lua
+       ${INSTALL_DATA} ${WRKSRC}/mmdb/*.lua \
+               ${DESTDIR}${PREFIX}/${LUA_LDIR}/mmdb
+
+.include "../../lang/lua/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r b5433f46a4b3 -r b23b774046a8 geography/lua-mmdb/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/geography/lua-mmdb/PLIST  Thu Jul 09 10:48:58 2020 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2020/07/09 10:48:58 nia Exp $
+share/doc/${PKGNAME}/example.lua
+${LUA_LDIR}/mmdb/init.lua
diff -r b5433f46a4b3 -r b23b774046a8 geography/lua-mmdb/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/geography/lua-mmdb/distinfo       Thu Jul 09 10:48:58 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/07/09 10:48:58 nia Exp $
+
+SHA1 (mmdblua-0.2.tar.gz) = a6ac7f68a3ae9ff31ae5b4613bf702fbfa0481e4
+RMD160 (mmdblua-0.2.tar.gz) = 68e9f7b91272275bdd54d22350f0e06c7d53209d
+SHA512 (mmdblua-0.2.tar.gz) = f45dbff51fbf04f11d4cc7592aae4cc72c38a421476cb2c37829fd2c59953148f012ad977251b8c5f9a358d7dc7acbf2abd3bf9f11b0d018d1297831a0bd80e1
+Size (mmdblua-0.2.tar.gz) = 6430 bytes



Home | Main Index | Thread Index | Old Index