1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

archivers/lzsa: add new port

LZSA is a collection of byte-aligned compression formats that are
engineered for very fast decompression on 8-bit systems.

WWW: https://github.com/emmanuel-marty/lzsa
This commit is contained in:
Max Brazhnikov 2023-10-30 17:18:39 +03:00
parent db51a0e68e
commit d4bdd5d393
5 changed files with 49 additions and 0 deletions

View File

@ -87,6 +87,7 @@
SUBDIR += lzmalib
SUBDIR += lzo2
SUBDIR += lzop
SUBDIR += lzsa
SUBDIR += makeself
SUBDIR += mar
SUBDIR += maxcso

33
archivers/lzsa/Makefile Normal file
View File

@ -0,0 +1,33 @@
PORTNAME= lzsa
DISTVERSION= 1.4.1
CATEGORIES= archivers emulators
MAINTAINER= makc@FreeBSD.org
COMMENT= LZSA compression utility
WWW= https://github.com/emmanuel-marty/lzsa
LICENSE= CC0-1.0 ZLIB
LICENSE_COMB= multi
LICENSE_FILE_CC0-1.0= ${WRKSRC}/LICENSE.cc0.md
LICENSE_FILE_ZLIB= ${WRKSRC}/LICENSE.zlib.md
USES= gmake
USE_GITHUB= yes
GH_ACCOUNT= emmanuel-marty
PLIST_FILES= bin/lzsa
PORTDOCS= BlockFormat_LZSA1.md BlockFormat_LZSA2.md README.md \
StreamFormat.md pareto_graph.png
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/lzsa ${STAGEDIR}/${PREFIX}/bin
do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR} && \
${INSTALL_DATA} ${PORTDOCS:C,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

3
archivers/lzsa/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1698576531
SHA256 (emmanuel-marty-lzsa-1.4.1_GH0.tar.gz) = c65ca1e6a43696f4ca5edc2c98229fba1044806bd21bc2a8ce4b867dc9cfc45c
SIZE (emmanuel-marty-lzsa-1.4.1_GH0.tar.gz) = 152571

View File

@ -0,0 +1,10 @@
--- Makefile.orig 2023-02-27 17:23:00 UTC
+++ Makefile
@@ -1,5 +1,5 @@
-CC=clang
-CFLAGS=-O3 -g -fomit-frame-pointer -Isrc/libdivsufsort/include -Isrc
+CC?= clang
+CFLAGS+= -Isrc/libdivsufsort/include -Isrc
OBJDIR=obj
LDFLAGS=

2
archivers/lzsa/pkg-descr Normal file
View File

@ -0,0 +1,2 @@
LZSA is a collection of byte-aligned compression formats that are specifically
engineered for very fast decompression on 8-bit systems.