Usbutils

From CBLFS
Revision as of 01:19, 4 December 2006 by Kalessin (talk | contribs) (I added the package description from BLFS.)
Jump to navigationJump to search
Download Source: http://prdownloads.sourceforge.net/linux-usb/usbutils-0.72.tar.gz

Introduction to Usbutils

The usbutils package contains a utility used to display information about USB buses in the system and the devices connected to them.

Dependencies

Required

Non-Multilib

Compile the package:

sed -i 's|DEST=|&/usr/share/|' update-usbids.sh &&
./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:

sed -i 's|DEST=|&/usr/share/|' update-usbids.sh &&
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:

sed -i 's|DEST=|&/usr/share/|' update-usbids.sh &&
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:

sed -i 's|DEST=|&/usr/share/|' update-usbids.sh &&
CC="gcc ${BUILD64}" ./configure --prefix=/usr &&
make

Install the package

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