]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blobdiff - usbutils/usbutils.nm
ding-libs: Fix running test suite
[people/stevee/ipfire-3.x.git] / usbutils / usbutils.nm
index 6a24f0966e7ac1219cf38fcdcf4bee522f0e3d7f..6c3b98d1e482604a6b941cacc87003bd768c754a 100644 (file)
@@ -5,8 +5,8 @@
 
 name       = usbutils
 epoch      = 1
-version    = 003
-release    = 1
+version    = 005
+release    = 3
 
 groups     = System/Tools
 url        = http://www.linux-usb.org/
@@ -21,14 +21,18 @@ source_dl  = http://www.kernel.org/pub/linux/utils/usb/usbutils/
 
 build
        requires
-               libusb-devel
-               pkg-config
+               autoconf
+               automake
+               hwdata
+               libusbx-devel
                zlib-devel
        end
 
-       install_cmds
-               rm -fv %{BUILDROOT}/usr/share/usb.ids.gz
+       prepare_cmds
+               ./autogen.sh
+       end
 
+       install_cmds
                # Removing lsusb.py.
                rm -rfv %{BUILDROOT}/usr/bin/lsusb.py
        end
@@ -36,6 +40,11 @@ end
 
 packages
        package %{name}
+               group += Base
+
+               requires
+                       /usr/share/hwdata/usb.ids
+               end
        end
 
        package %{name}-debuginfo