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:
parent
db51a0e68e
commit
d4bdd5d393
@ -87,6 +87,7 @@
|
|||||||
SUBDIR += lzmalib
|
SUBDIR += lzmalib
|
||||||
SUBDIR += lzo2
|
SUBDIR += lzo2
|
||||||
SUBDIR += lzop
|
SUBDIR += lzop
|
||||||
|
SUBDIR += lzsa
|
||||||
SUBDIR += makeself
|
SUBDIR += makeself
|
||||||
SUBDIR += mar
|
SUBDIR += mar
|
||||||
SUBDIR += maxcso
|
SUBDIR += maxcso
|
||||||
|
|||||||
33
archivers/lzsa/Makefile
Normal file
33
archivers/lzsa/Makefile
Normal 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
3
archivers/lzsa/distinfo
Normal 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
|
||||||
10
archivers/lzsa/files/patch-Makefile
Normal file
10
archivers/lzsa/files/patch-Makefile
Normal 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
2
archivers/lzsa/pkg-descr
Normal 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.
|
||||||
Loading…
x
Reference in New Issue
Block a user