summaryrefslogtreecommitdiff
path: root/package/libusb
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-09-18 10:55:37 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-09-18 10:55:37 +0200
commit35fd028f21b5b0c0ad3bec20827b63fc6667c5b4 (patch)
tree43f43be575707b65216499bf4125060fb663a6ea /package/libusb
parent2abdcf95d521e09297804c30c7a1efda9545a579 (diff)
update and fix build, idea from sab0tage
Diffstat (limited to 'package/libusb')
-rw-r--r--package/libusb/Makefile11
-rw-r--r--package/libusb/patches/patch-ltmain_sh11
2 files changed, 7 insertions, 15 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
diff --git a/package/libusb/patches/patch-ltmain_sh b/package/libusb/patches/patch-ltmain_sh
deleted file mode 100644
index 7ac5092b0..000000000
--- a/package/libusb/patches/patch-ltmain_sh
+++ /dev/null
@@ -1,11 +0,0 @@
---- libusb-1.0.8.orig/ltmain.sh 2010-05-05 00:02:07.000000000 +0200
-+++ libusb-1.0.8/ltmain.sh 2011-01-14 19:20:50.000000000 +0100
-@@ -4765,7 +4765,7 @@ func_mode_link ()
- # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC
- # @file GCC response files
- -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
-- -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*)
-+ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-fstack-protector*|-flto)
- func_quote_for_eval "$arg"
- arg="$func_quote_for_eval_result"
- func_append compile_command " $arg"