Add pkg-config file for libarchive

Requested by:	bapt
MFC after:	1 week
This commit is contained in:
Martin Matuska 2014-11-02 09:37:45 +00:00
parent dd10c1e27b
commit 0ac327af11
2 changed files with 18 additions and 0 deletions

View File

@ -49,6 +49,12 @@ CFLAGS+= -DPPMD_32BIT
.endif
NO_WCAST_ALIGN.clang=
.ifndef COMPAT_32BIT
beforeinstall:
${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
${.CURDIR}/libarchive.pc ${DESTDIR}${LIBDATADIR}/pkgconfig
.endif
.PATH: ${LIBARCHIVEDIR}/libarchive
# Headers to be installed in /usr/include

View File

@ -0,0 +1,12 @@
# $FreeBSD$
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: libarchive
Description: library that can create and read several streaming archive formats
Version: 3.1.2
Cflags: -I${includedir}
Libs: -L${libdir} -larchive
Libs.private: -lz -lbz2 -llzma -lbsdxml -lcrypto