Add pkgconf files for libusb.
Reviewed by: hselasky
This commit is contained in:
parent
8ef3c0b12c
commit
56a6c80c3f
@ -38,6 +38,8 @@
|
||||
..
|
||||
lint
|
||||
..
|
||||
pkgconfig
|
||||
..
|
||||
..
|
||||
libexec
|
||||
bsdinstall
|
||||
|
@ -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
11
lib/libusb/libusb-0.1.pc
Normal 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
11
lib/libusb/libusb-1.0.pc
Normal 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
11
lib/libusb/libusb-2.0.pc
Normal 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}
|
Loading…
Reference in New Issue
Block a user