Import libhid, it provides a generic and flexible way to access and

interact with USB HID devices, much like libusb does for plain USB devices

ok jasper@
This commit is contained in:
armani 2010-10-03 21:10:24 +00:00
parent c3175c43d4
commit 74699cf693
5 changed files with 51 additions and 0 deletions

31
devel/libhid/Makefile Normal file
View File

@ -0,0 +1,31 @@
# $OpenBSD: Makefile,v 1.1.1.1 2010/10/03 21:10:24 armani Exp $
COMMENT = user-space USB HID access library written in C
DISTNAME = libhid-0.2.16
SHARED_LIBS = hid 0.0
CATEGORIES = devel
HOMEPAGE = http://libhid.alioth.debian.org/
MAINTAINER = Jonathan Armani <armani@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= https://alioth.debian.org/frs/download.php/1958/
WANTLIB += c usb
LIB_DEPENDS = ::devel/libusb
USE_GMAKE = Yes
USE_LIBTOOL = Yes
SEPARATE_BUILD = concurrent
CONFIGURE_STYLE = gnu
.include <bsd.port.mk>

5
devel/libhid/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (libhid-0.2.16.tar.gz) = 8qQnpta5il240X4ndxc69w==
RMD160 (libhid-0.2.16.tar.gz) = 9h8BauVLxVMiAv1nbTjR9oTnq40=
SHA1 (libhid-0.2.16.tar.gz) = miX+9nTo8g+X/qZwDrkcIeu7zAI=
SHA256 (libhid-0.2.16.tar.gz) = 9oCas7nJB8uwXOup7myiOnBfhf1xWIUY4Us6fZ8lUOU=
SIZE (libhid-0.2.16.tar.gz) = 435245

2
devel/libhid/pkg/DESCR Normal file
View File

@ -0,0 +1,2 @@
libhid provides a generic and flexible way to access and interact with
USB HID devices, much like libusb does for plain USB devices.

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2010/10/03 21:10:24 armani Exp $
@lib lib/libhid.so.${LIBhid_VERSION}

11
devel/libhid/pkg/PLIST Normal file
View File

@ -0,0 +1,11 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2010/10/03 21:10:24 armani Exp $
%%SHARED%%
@bin bin/libhid-detach-device
include/hid.h
include/hidparser.h
include/hidtypes.h
lib/libhid.a
lib/libhid.la
lib/pkgconfig/
lib/pkgconfig/libhid.pc
@man man/man1/libhid-detach-device.1