diff options
| author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-06-11 20:44:54 +0000 |
|---|---|---|
| committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-06-11 20:44:54 +0000 |
| commit | a021956c9372d2899c5b5cbc287d0a6ce05820b0 (patch) | |
| tree | 2e77b130167e618414e786827f1e7e8e958ca053 /lib/libz | |
| parent | aeeb653ce06387659c444addfb52e6dc33bd38f1 (diff) | |
Notes
Diffstat (limited to 'lib/libz')
| -rw-r--r-- | lib/libz/Makefile | 4 | ||||
| -rw-r--r-- | lib/libz/zlib.pc | 14 |
2 files changed, 18 insertions, 0 deletions
diff --git a/lib/libz/Makefile b/lib/libz/Makefile index fe6fb298cd74..bc723afd5b21 100644 --- a/lib/libz/Makefile +++ b/lib/libz/Makefile @@ -66,6 +66,10 @@ test: example minigzip (export LD_LIBRARY_PATH=. ; \ echo hello world | ./minigzip | ./minigzip -d ) +beforeinstall: + ${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ + ${.CURDIR}/zlib.pc ${DESTDIR}${LIBDATADIR}/pkgconfig + .include <bsd.lib.mk> ## XXX: clang integrated-as doesn't grok .intel_syntax directives yet diff --git a/lib/libz/zlib.pc b/lib/libz/zlib.pc new file mode 100644 index 000000000000..63a214f6ba7d --- /dev/null +++ b/lib/libz/zlib.pc @@ -0,0 +1,14 @@ +# $FreeBSD$ +prefix=/usr +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +sharedlibdir=${libdir} +includedir=${prefix}/include + +Name: zlib +Description: zlib compression library +Version: 1.2.8 + +Requires: +Libs: -L${libdir} -L${sharedlibdir} -lz +Cflags: -I${includedir} |
