mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 13:32:45 +00:00
Add pkgconf files for libusb.
Reviewed by: hselasky
This commit is contained in:
parent
763d9566fe
commit
041d3f3f09
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=253637
@ -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