summaryrefslogtreecommitdiffstats
path: root/lib/libbz2
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-06-21 19:16:17 +0000
committerobrien <obrien@FreeBSD.org>2001-06-21 19:16:17 +0000
commit5bee51eeae1acd7fac6daf709aaa59d5c0ba1d31 (patch)
tree5a690862d668a61e6e873b99730c8713d40b2916 /lib/libbz2
parenteb6c72773d36910d6442789442d041e3fd77da8e (diff)
downloadFreeBSD-src-5bee51eeae1acd7fac6daf709aaa59d5c0ba1d31.zip
FreeBSD-src-5bee51eeae1acd7fac6daf709aaa59d5c0ba1d31.tar.gz
Add libbz2 to provide Bzip2 capabilities to the system.
Diffstat (limited to 'lib/libbz2')
-rw-r--r--lib/libbz2/Makefile20
1 files changed, 20 insertions, 0 deletions
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>
OpenPOWER on IntegriCloud