summaryrefslogtreecommitdiff
path: root/devel/libusbx
diff options
context:
space:
mode:
authorwiz <wiz>2012-05-30 15:28:29 +0000
committerwiz <wiz>2012-05-30 15:28:29 +0000
commit6683f8531f445950d57eb671c6fc66cecf61bc71 (patch)
treea54c7bfabae3b4c26f6e7d0b5b1f03bbcd7c377d /devel/libusbx
parent39ca3f10a0a91092281dff1b1cee854529be2612 (diff)
downloadpkgsrc-6683f8531f445950d57eb671c6fc66cecf61bc71.tar.gz
Initial import of libusbx, a fork of libusb1.
libusbx is a library that provides generic access to USB devices. As a library, it is meant to be used by developers, to facilitate the development of applications that communicate with USB hardware. It is portable: Using a single cross-platform API, it provides access to USB devices on Linux, OS X, Windows and OpenBSD. It is user-mode: No special privilege or elevation is required for the application to communicate with a device. It is version-agnostic: All versions of the USB protocol, from 1.0 to 3.0 (latest), are supported. libusbx is a fork of libusb.
Diffstat (limited to 'devel/libusbx')
-rw-r--r--devel/libusbx/DESCR14
-rw-r--r--devel/libusbx/Makefile23
-rw-r--r--devel/libusbx/PLIST4
-rw-r--r--devel/libusbx/distinfo5
4 files changed, 46 insertions, 0 deletions
diff --git a/devel/libusbx/DESCR b/devel/libusbx/DESCR
new file mode 100644
index 00000000000..61e4f81a1a0
--- /dev/null
+++ b/devel/libusbx/DESCR
@@ -0,0 +1,14 @@
+libusbx is a library that provides generic access to USB devices.
+As a library, it is meant to be used by developers, to facilitate
+the development of applications that communicate with USB hardware.
+
+It is portable: Using a single cross-platform API, it provides
+access to USB devices on Linux, OS X, Windows and OpenBSD.
+
+It is user-mode: No special privilege or elevation is required for
+the application to communicate with a device.
+
+It is version-agnostic: All versions of the USB protocol, from 1.0
+to 3.0 (latest), are supported.
+
+libusbx is a fork of libusb.
diff --git a/devel/libusbx/Makefile b/devel/libusbx/Makefile
new file mode 100644
index 00000000000..29ca57defcd
--- /dev/null
+++ b/devel/libusbx/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2012/05/30 15:28:29 wiz Exp $
+
+DISTNAME= libusbx-1.0.11
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libusbx/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://libusbx.sourceforge.net/
+COMMENT= USB Access Library (version 1) for of libusb
+LICENSE= gnu-lgpl-v2.1
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config
+
+PKGCONFIG_OVERRIDE+= libusb-1.0.pc.in
+
+CONFLICTS= libusb1-[0-9]*
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/libusbx/PLIST b/devel/libusbx/PLIST
new file mode 100644
index 00000000000..53b31e084fd
--- /dev/null
+++ b/devel/libusbx/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2012/05/30 15:28:29 wiz Exp $
+include/libusb-1.0/libusb.h
+lib/libusb-1.0.la
+lib/pkgconfig/libusb-1.0.pc
diff --git a/devel/libusbx/distinfo b/devel/libusbx/distinfo
new file mode 100644
index 00000000000..766d1c3f91c
--- /dev/null
+++ b/devel/libusbx/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2012/05/30 15:28:29 wiz Exp $
+
+SHA1 (libusbx-1.0.11.tar.bz2) = 8ad4cbc47eb9380663ce46ee74e50c1f098beb47
+RMD160 (libusbx-1.0.11.tar.bz2) = 8f4ebe82366df9a386edfb36417915006f18e94e
+Size (libusbx-1.0.11.tar.bz2) = 398126 bytes