FreeBSD Ports

archivers/liblz4 1.10.0_2,1

LZ4 compression library, lossless and very fast

Repository
FreeBSD ports
Maintainer
[email protected]
License
BSD2CLAUSE, GPLv2
Categories
archivers
Package size
151.8 KiB, 676.5 KiB installed

Description

LZ4 is lossless compression algorithm, providing compression speed > 500 MB/s per core, scalable with multi-cores CPU. It features an extremely fast decoder, with speed in multiple GB/s per core, typically reaching RAM speed limits on multi-core systems.

Speed can be tuned dynamically, selecting an "acceleration" factor which trades compression ratio for faster speed. On the other end, a high compression derivative, LZ4_HC, is also provided, trading CPU time for improved compression ratio. All versions feature the same decompression speed.

LZ4 is also compatible with dictionary compression, both at API and CLI levels. It can ingest any input file as dictionary, though only the final 64KB are used. This capability can be combined with the Zstandard Dictionary Builder, in order to drastically improve compression performance on small files.

Install

As a binary package — by origin, or by package name:

pkg install archivers/liblz4
pkg install liblz4

From the ports tree:

cd /usr/ports/archivers/liblz4/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	liblz4>0:archivers/liblz4
LIB_DEPENDS=	liblz4.so:archivers/liblz4

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.10.0_2,11.10.0_2,11.9.4,11.10.0,11.10.0_2,1
FreeBSD:14:quarterly1.10.0_2,11.10.0_2,1n/a1.10.0,11.10.0_2,1
FreeBSD:15:latest1.10.0_2,11.10.0_2,1n/a1.10.0,11.10.0,1
FreeBSD:15:quarterly1.10.0_2,11.10.0_2,1n/an/an/a
FreeBSD:16:latest1.10.0_2,11.10.0_2,1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

All build dependencies 4
Required by 15560

The first 100 are listed.

Configuration

Options name: archivers_lz4

OptionDefaultDescription
TESToffRun extensive tests
USES
cpe gmake pkgconfig
Service scripts
none

Files

Manual pages 4
  • lz4(1)
  • lz4c(1)
  • lz4cat(1)
  • unlz4(1)
pkg-plist 18
  • bin/lz4
  • bin/lz4c
  • bin/lz4cat
  • bin/unlz4
  • include/lz4.h
  • include/lz4file.h
  • include/lz4frame.h
  • include/lz4frame_static.h
  • include/lz4hc.h
  • lib/liblz4.a
  • lib/liblz4.so
  • lib/liblz4.so.1
  • lib/liblz4.so.
  • libdata/pkgconfig/liblz4.pc
  • share/man/man1/lz4.1.gz
  • share/man/man1/lz4c.1.gz
  • share/man/man1/lz4cat.1.gz
  • share/man/man1/unlz4.1.gz
distinfo 1
FileSizeSHA256
lz4-1.10.0.tar.gz387114537512904744b35e232912055ccf8ec66d768639ff3abe5788d90d792ec5f48b
Master sites 1
  • https://github.com/lz4/lz4/releases/download/v1.10.0/

Commit history 0

No commits in the history this site was built from.