packages: Rename liblzma package to xz

Rename liblzma to xz, and use LIB_PACKAGE to create an xz-lib package
for runtime libraries.

MFC after:	1 day
Reviewed by:	bapt
Sponsored by:	https://www.patreon.com/bsdivy
Differential Revision:	https://reviews.freebsd.org/D52791
This commit is contained in:
Lexi Winter 2025-09-30 09:11:55 +01:00
parent 11709058bf
commit 9124ace751
5 changed files with 13 additions and 4 deletions

View file

@ -1,4 +1,6 @@
PACKAGE=lib${LIB}
PACKAGE= xz
LIB_PACKAGE=
LIB= lzma
LZMADIR= ${SRCTOP}/contrib/xz/src/liblzma

View file

@ -16,11 +16,12 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
comment = "XZ LZMA library"
comment = "LZMA2 data compression"
desc = <<EOD
liblzma allows applications to compress and decompress data using the XZ
compression algorithm.
xz compresses data using the LZMA2 data compression algorithm. This package
provides the front-end xz(1) utility, and the liblzma library which allows
applications to use this functionality programatically.
EOD
annotations {

View file

@ -1,3 +1,5 @@
PACKAGE=xz
PROG= lzmainfo
XZDIR= ${SRCTOP}/contrib/xz/src

View file

@ -1,5 +1,7 @@
.include <src.opts.mk>
PACKAGE=xz
PROG= xz
LINKS= ${BINDIR}/xz ${BINDIR}/unxz

View file

@ -1,3 +1,5 @@
PACKAGE=xz
PROG= xzdec
LINKS= ${BINDIR}/xzdec ${BINDIR}/lzdec