Difference between revisions of "Usbutils"

From CBLFS
Jump to navigationJump to search
Line 18: Line 18:
 
Compile the package:
 
Compile the package:
  
sed -i 's|DEST=|&/usr/share/|' update-usbids.sh &&
 
 
  ./configure --prefix=/usr &&
 
  ./configure --prefix=/usr &&
 
  make
 
  make
Line 26: Line 25:
 
  make install &&
 
  make install &&
 
  install -v -m755 update-usbids.sh /usr/sbin/update-usbids
 
  install -v -m755 update-usbids.sh /usr/sbin/update-usbids
 
=== Command Explanations ===
 
 
'''sed -i '...' update-usbids.sh''': This command modifies the download script so that it will replace the existing file in /usr/share instead of the one in the current directory.
 
  
 
== Multilib ==
 
== Multilib ==
Line 38: Line 33:
 
Compile the package:
 
Compile the package:
  
sed -i 's|DEST=|&/usr/share/|' update-usbids.sh &&
 
 
  CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
 
  CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
 
  make
 
  make
Line 51: Line 45:
 
Compile the package:
 
Compile the package:
  
sed -i 's|DEST=|&/usr/share/|' update-usbids.sh &&
 
 
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr &&
 
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr &&
 
  make
 
  make
Line 64: Line 57:
 
Compile the package:
 
Compile the package:
  
sed -i 's|DEST=|&/usr/share/|' update-usbids.sh &&
 
 
  CC="gcc ${BUILD64}" ./configure --prefix=/usr &&
 
  CC="gcc ${BUILD64}" ./configure --prefix=/usr &&
 
  make
 
  make

Revision as of 08:08, 7 November 2009

Download Source: http://downloads.sourceforge.net/linux-usb/usbutils-006.tar.gz

Introduction to Usbutils

Project Homepage: Unknown

Dependencies

Required

Non-Multilib

Compile the package:

./configure --prefix=/usr &&
make

Install the package

make install &&
install -v -m755 update-usbids.sh /usr/sbin/update-usbids

Multilib

This package does not provide any libraries so only one installation is needed.

32Bit

Compile the package:

CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
make

Install the package

make install &&
install -v -m755 update-usbids.sh /usr/sbin/update-usbids

N32

Compile the package:

CC="gcc ${BUILDN32}" ./configure --prefix=/usr &&
make

Install the package

make install &&
install -v -m755 update-usbids.sh /usr/sbin/update-usbids

64Bit

Compile the package:

CC="gcc ${BUILD64}" ./configure --prefix=/usr &&
make

Install the package

make install &&
install -v -m755 update-usbids.sh /usr/sbin/update-usbids

Contents

Installed Programs: lsusb and update-usbids
Installed Libraries: None
Installed Directories: None

Short Descriptions

lsusb is a utility for displaying information about all USB buses in the system and all devices connected to them.
update-usbids downloads the current version of the USB ID list. Requires Wget or Lynx.
Retrieved from "?title=Usbutils&oldid=19614"