Usbutils

From CBLFS
Revision as of 17:49, 3 October 2006 by Jciccone (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Download Source: http://prdownloads.sourceforge.net/linux-usb/usbutils-0.72.tar.gz

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