Add pkgconf files for libusb.

Reviewed by:	hselasky
This commit is contained in:
Rui Paulo 2013-07-25 03:54:08 +00:00
parent 763d9566fe
commit 041d3f3f09
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=253637
5 changed files with 43 additions and 0 deletions

View File

@ -38,6 +38,8 @@
..
lint
..
pkgconfig
..
..
libexec
bsdinstall

View File

@ -38,6 +38,14 @@ SRCS+= libusb10_io.c
CFLAGS+= -DCOMPAT_32BIT
.endif
beforeinstall:
${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
${.CURDIR}/libusb-0.1.pc ${DESTDIR}${LIBDATADIR}/pkgconfig
${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
${.CURDIR}/libusb-1.0.pc ${DESTDIR}${LIBDATADIR}/pkgconfig
${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
${.CURDIR}/libusb-2.0.pc ${DESTDIR}${LIBDATADIR}/pkgconfig
#
# Cross platform support
#

11
lib/libusb/libusb-0.1.pc Normal file
View File

@ -0,0 +1,11 @@
# $FreeBSD$
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: libusb-0.1
Description: Library that abstracts ways to access USB devices (v0.1)
Version: 0.1.0
Libs: -L${libdir} -lusb
Cflags: -I${includedir}

11
lib/libusb/libusb-1.0.pc Normal file
View File

@ -0,0 +1,11 @@
# $FreeBSD$
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: libusb-1.0
Description: Library that abstracts ways to access USB devices (v1.0)
Version: 1.0.9
Libs: -L${libdir} -lusb
Cflags: -I${includedir}

11
lib/libusb/libusb-2.0.pc Normal file
View File

@ -0,0 +1,11 @@
# $FreeBSD$
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: libusb-2.0
Description: Library that abstracts ways to access USB devices (v2.0)
Version: 2.0.0
Libs: -L${libdir} -lusb
Cflags: -I${includedir}