summaryrefslogtreecommitdiff
path: root/package/usbutils
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-06-26 20:10:44 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-06-26 20:10:44 +0200
commitbf89ff6c79e76b23d153cead09754e68dbe59983 (patch)
tree229463616389a8e00c8fc33576987d86ac2bba85 /package/usbutils
parentac01f0d24321933d3456190164f5b68ccc94976a (diff)
more 2.6.39 fixes
Diffstat (limited to 'package/usbutils')
-rw-r--r--package/usbutils/Makefile12
-rw-r--r--package/usbutils/patches/patch-Makefile_in11
2 files changed, 17 insertions, 6 deletions
diff --git a/package/usbutils/Makefile b/package/usbutils/Makefile
index 2aae6b570..31c2b6980 100644
--- a/package/usbutils/Makefile
+++ b/package/usbutils/Makefile
@@ -4,14 +4,14 @@
include ${TOPDIR}/rules.mk
PKG_NAME:= usbutils
-PKG_VERSION:= 0.86
-PKG_RELEASE:= 2
-PKG_MD5SUM:= 34979f675d2bcb3e1b45012fa830a53f
+PKG_VERSION:= 003
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 94a1738fe92062cdd6a9642eeaccefc1
PKG_DESCR:= A program to list USB devices
PKG_SECTION:= utils
PKG_DEPENDS:= libusb libusb-compat libpthread
PKG_BUILDDEP:= libusb libusb-compat
-PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=linux-usb/}
+PKG_SITES:= http://www.kernel.org/pub/linux/utils/usb/usbutils/
PKG_SUBPKGS:= LSUSB
@@ -21,9 +21,9 @@ $(eval $(call PKG_template,LSUSB,lsusb,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPEN
post-install:
${INSTALL_DIR} ${IDIR_LSUSB}/usr/share
- ${INSTALL_DATA} ${WRKINST}/usr/share/usb.ids \
+ ${INSTALL_DATA} ${WRKINST}/usr/share/usb.ids.gz \
${IDIR_LSUSB}/usr/share/
${INSTALL_DIR} ${IDIR_LSUSB}/usr/bin
- ${INSTALL_BIN} ${WRKINST}/usr/sbin/lsusb ${IDIR_LSUSB}/usr/bin
+ ${INSTALL_BIN} ${WRKINST}/usr/bin/lsusb ${IDIR_LSUSB}/usr/bin
include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/usbutils/patches/patch-Makefile_in b/package/usbutils/patches/patch-Makefile_in
new file mode 100644
index 000000000..2e0372fc9
--- /dev/null
+++ b/package/usbutils/patches/patch-Makefile_in
@@ -0,0 +1,11 @@
+--- usbutils-003.orig/Makefile.in 2011-06-16 02:37:51.000000000 +0200
++++ usbutils-003/Makefile.in 2011-06-16 17:45:11.596951462 +0200
+@@ -298,7 +298,7 @@ EXTRA_DIST = \
+ lsusb.py \
+ usbutils.pc.in
+
+-pkgconfigdir = $(datarootdir)/pkgconfig
++pkgconfigdir = $(libdir)/pkgconfig
+ pkgconfig_DATA = usbutils.pc
+ DISTCLEANFILES = \
+ usb.ids.gz \