[packages] usbutils: update to 003, drop obsolete patch

git-svn-id: svn://svn.openwrt.org/openwrt/packages@27428 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
swalker 2011-07-04 00:50:37 +00:00
parent 5c6dcd57c7
commit 3b3ea7e0d1
2 changed files with 3 additions and 30 deletions

View File

@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=usbutils
PKG_VERSION:=002
PKG_RELEASE:=2
PKG_VERSION:=003
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=@KERNEL/linux/utils/usb/usbutils
PKG_MD5SUM:=39e38263ba45690fbad41f248f207d32
PKG_MD5SUM:=218208b8382ead0f7e49ef7ec0cf77f2
PKG_INSTALL:=1

View File

@ -1,27 +0,0 @@
Index: usbutils-002/Makefile.am
===================================================================
--- usbutils-002.orig/Makefile.am 2011-04-14 14:33:22.000000000 +0300
+++ usbutils-002/Makefile.am 2011-04-14 14:33:32.000000000 +0300
@@ -6,9 +6,6 @@
data_DATA = \
usb.ids
-if HAVE_ZLIB
-data_DATA += usb.ids.gz
-endif
bin_PROGRAMS = \
lsusb
@@ -35,6 +32,12 @@
lsusb_LDADD = \
$(LIBUSB_LIBS)
+if HAVE_ZLIB
+data_DATA += usb.ids.gz
+lsusb_CPPFLAGS += -DHAVE_LIBZ
+lsusb_LDADD += -lz
+endif
+
man_MANS = \
lsusb.8 \
usb-devices.1