converters: Add lua-iconv

Lua-iconv is POSIX 'iconv' binding for the Lua Programming Language. The
iconv library converts a sequence of characters from one codeset into a
sequence of corresponding characters in another codeset. The codesets are
those specified in the iconv.new() call that returned the conversion
descriptor, cd.
This commit is contained in:
nia 2020-07-08 15:10:38 +00:00
parent 6f2b5ffb19
commit bff60162df
5 changed files with 37 additions and 1 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.176 2020/05/01 17:50:59 nia Exp $
# $NetBSD: Makefile,v 1.177 2020/07/08 15:10:38 nia Exp $
#
COMMENT= Document format and character code converters
@ -61,6 +61,7 @@ SUBDIR+= libwpd
SUBDIR+= libwpg
SUBDIR+= libwps
SUBDIR+= libzmf
SUBDIR+= lua-iconv
SUBDIR+= macfork
SUBDIR+= mpack
SUBDIR+= nkf

View file

@ -0,0 +1,5 @@
Lua-iconv is POSIX 'iconv' binding for the Lua Programming Language. The
iconv library converts a sequence of characters from one codeset into a
sequence of corresponding characters in another codeset. The codesets are
those specified in the iconv.new() call that returned the conversion
descriptor, cd.

View file

@ -0,0 +1,21 @@
# $NetBSD: Makefile,v 1.1 2020/07/08 15:10:38 nia Exp $
DISTNAME= lua-iconv-7
PKGNAME= ${LUA_PKGPREFIX}-${DISTNAME:S/^lua-//1}
CATEGORIES= converters lua
MASTER_SITES= ${MASTER_SITE_GITHUB:=ittner/}
GITHUB_PROJECT= lua-iconv
GITHUB_TAG= ${DISTNAME}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.ittner.com.br/lua-iconv/
COMMENT= Lua bindings for POSIX iconv
LICENSE= mit
INSTALLATION_DIRS+= ${LUA_CDIR}
do-install:
${INSTALL_LIB} ${WRKSRC}/iconv.so ${DESTDIR}${PREFIX}/${LUA_CDIR}
.include "../../lang/lua/module.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -0,0 +1,2 @@
@comment $NetBSD: PLIST,v 1.1 2020/07/08 15:10:38 nia Exp $
${LUA_CDIR}/iconv.so

View file

@ -0,0 +1,7 @@
$NetBSD: distinfo,v 1.1 2020/07/08 15:10:38 nia Exp $
SHA1 (lua-iconv-7.tar.gz) = 66e1d0f367d460e1bd78ad6befccdd2837b279e1
RMD160 (lua-iconv-7.tar.gz) = fe16fce0cf5af4bfeab27cb691559d6fbe16f4f9
SHA512 (lua-iconv-7.tar.gz) = 7fae8be68878747a6bcb559d1548f7d0b330d519cdf306f6ec8250cb914ed971ba1a86fef20771a5add728d796c613c32544c20ba4f8b4315d20ee8ac39a607f
Size (lua-iconv-7.tar.gz) = 11568 bytes
SHA1 (patch-Makefile) = a10dbee19203d06294c3daba33b5fff97bb85d5d