mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
Add libbz2 to provide Bzip2 capabilities to the system.
This commit is contained in:
parent
559ba42767
commit
4e78abc4bb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=78559
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
SUBDIR= ${_csu} libcom_err libcrypt msun libmd \
|
SUBDIR= ${_csu} libcom_err libcrypt msun libmd \
|
||||||
libncurses libradius libskey libtacplus libutil libsbuf \
|
libncurses libradius libskey libtacplus libutil libsbuf \
|
||||||
${_compat} libalias libatm ${_libbind} libc ${_libc_r} libcalendar \
|
${_compat} libalias libatm ${_libbind} libbz2 libc ${_libc_r} libcalendar \
|
||||||
libcam libcompat libdevinfo libdevstat libdisk libedit libfetch \
|
libcam libcompat libdevinfo libdevstat libdisk libedit libfetch \
|
||||||
libform libftpio libgnumalloc ${_libio} libipsec libipx libisc libkvm \
|
libform libftpio libgnumalloc ${_libio} libipsec libipx libisc libkvm \
|
||||||
libmenu ${_libncp} \
|
libmenu ${_libncp} \
|
||||||
|
|
20
lib/libbz2/Makefile
Normal file
20
lib/libbz2/Makefile
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
MAINTAINER=obrien@FreeBSD.org
|
||||||
|
|
||||||
|
BZ2DIR= ${.CURDIR}/../../contrib/bzip2
|
||||||
|
.PATH: ${BZ2DIR}
|
||||||
|
|
||||||
|
LIB= bz2
|
||||||
|
SHLIB_MAJOR= 1
|
||||||
|
SHLIB_MINOR= 0
|
||||||
|
SRCS= bzlib.c blocksort.c compress.c crctable.c decompress.c \
|
||||||
|
huffman.c randtable.c
|
||||||
|
INCS= bzlib.h
|
||||||
|
CFLAGS+= -I${BZ2DIR}
|
||||||
|
|
||||||
|
beforeinstall:
|
||||||
|
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${BZ2DIR}/bzlib.h \
|
||||||
|
${DESTDIR}/usr/include
|
||||||
|
|
||||||
|
.include <bsd.lib.mk>
|
Loading…
Reference in a new issue