diff options
-rw-r--r-- | lib/Makefile | 2 | ||||
-rw-r--r-- | lib/libbz2/Makefile | 20 |
2 files changed, 21 insertions, 1 deletions
diff --git a/lib/Makefile b/lib/Makefile index 019984c..85cf359 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -22,7 +22,7 @@ SUBDIR= ${_csu} libcom_err libcrypt msun libmd \ 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 \ libform libftpio libgnumalloc ${_libio} libipsec libipx libisc libkvm \ libmenu ${_libncp} \ diff --git a/lib/libbz2/Makefile b/lib/libbz2/Makefile new file mode 100644 index 0000000..d63f168 --- /dev/null +++ b/lib/libbz2/Makefile @@ -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> |