summaryrefslogtreecommitdiff
path: root/package/libusb/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-09-26 14:44:05 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-09-26 14:44:05 +0200
commit5ae441d42ae9d1b33793a3ca19a7c929344337f7 (patch)
tree74fde0e28f77fc9627149148231391b311961bfe /package/libusb/Makefile
parentd871140e95bd81cf9ee4998d7199cff292241681 (diff)
parentd0cedd6214f7c35b73a22464c8688dbf9eb79f62 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/libusb/Makefile')
-rw-r--r--package/libusb/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/package/libusb/Makefile b/package/libusb/Makefile
index 8818e6310..eeff44616 100644
--- a/package/libusb/Makefile
+++ b/package/libusb/Makefile
@@ -3,14 +3,14 @@
include ${TOPDIR}/rules.mk
-PKG_NAME:= libusb
-PKG_VERSION:= 1.0.8
+PKG_NAME:= libusbx
+PKG_VERSION:= 1.0.16
PKG_RELEASE:= 1
-PKG_MD5SUM:= 37d34e6eaa69a4b645a19ff4ca63ceef
+PKG_MD5SUM:= 7f5715d624cd6c26b30a317eb6c2fe5e
PKG_DESCR:= a library for accessing Linux USB devices
PKG_SECTION:= libs
PKG_URL:= http://libusb.wiki.sourceforge.net/
-PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=libusb/}
+PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=libusbx/}
PKG_SUBPKGS:= LIBUSB LIBUSB_DEV
PKGSD_LIBUSB_DEV:= header files for libusb library
@@ -27,6 +27,9 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBUSB,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
$(eval $(call PKG_template,LIBUSB_DEV,${PKG_NAME}-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBUSB_DEV},${PKGSC_LIBUSB_DEV},${PKG_OPTS}))
+TARGET_CPPFLAGS= -DTIMESPEC_TO_TIMEVAL=
+CONFIGURE_ARGS+= --disable-udev
+
libusb-install:
${INSTALL_DIR} ${IDIR_LIBUSB}/usr/lib
${CP} ${WRKINST}/usr/lib/libusb*.so* ${IDIR_LIBUSB}/usr/lib