1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

archivers/lua-lzlib: add new port

PR:		208514
Submitted by:	Daniel Ylitalo <daniel@blodan.se> (based on)

Lua bindings to the ZLib compression library.

https://github.com/LuaDist/lzlib
This commit is contained in:
Jan Beich 2016-07-10 13:56:01 +00:00
parent a02cac9cd7
commit 734eff6094
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=418318
5 changed files with 41 additions and 0 deletions

View File

@ -72,6 +72,7 @@
SUBDIR += linux-f10-ucl
SUBDIR += linux-f10-upx
SUBDIR += lrzip
SUBDIR += lua-lzlib
SUBDIR += lzfse
SUBDIR += lzip
SUBDIR += lzlib

View File

@ -0,0 +1,27 @@
# $FreeBSD$
PORTNAME= lzlib
PORTVERSION= 0.4.3
CATEGORIES= archivers
PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
MAINTAINER= daniel@blodan.se
COMMENT= Lua bindings to the ZLib compression library
LICENSE= MIT
USES= cmake lua
USE_GITHUB= yes
GH_ACCOUNT= LuaDist
CMAKE_ARGS= -DINSTALL_LMOD="${LUA_MODSHAREDIR}" \
-DINSTALL_CMOD="${LUA_MODLIBDIR}" \
-DINSTALL_DOC="${DOCSDIR}" \
-DINSTALL_TEST="${EXAMPLESDIR}"
OPTIONS_DEFINE= DOCS EXAMPLES
post-patch:
@${REINPLACE_CMD} -e '/README/s/install_data/install_doc/' \
${WRKSRC}/CMakeLists.txt
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (LuaDist-lzlib-0.4.3_GH0.tar.gz) = cbb0cac5825e940b4ea2f31a336d2aaf6db39847d456920afd8e443804420dbb
SIZE (LuaDist-lzlib-0.4.3_GH0.tar.gz) = 23545

View File

@ -0,0 +1,3 @@
Lua bindings to the ZLib compression library.
WWW: https://github.com/LuaDist/lzlib

View File

@ -0,0 +1,8 @@
%%LUA_MODLIBDIR%%/zlib.so
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/README.lgzip
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_gzip.lua
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_zlib2.lua
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_zlib3.lua
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_zlib_dict.lua
%%LUA_MODSHAREDIR%%/gzip.lua