# lshw/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] # 1. The "lshw" core program is largely self-contained. It'll use data # files provided by "pciutils" and "usbutils", if the files are avail- # able. Most (or all) of the other dependencies specified for this # package are for the "lshw" GUI (lshw-gtk). #--------------------------------------------------------------------- # 2. "lshw" and "lshw-gui" seem to require superuser privileges. If an # ordinary user runs these programs, the information displayed is in- # complete. One possible fix is to add a line of the following form # to "/etc/sudoers": # ALL ALL = NOPASSWD: /opt/lshw/bin/lshw-gtk # Modify the path shown here appropriately. # If you do this, ordinary users should be able to run "lshw-gtk" as # follows: # sudo lshw-gtk # Note: This approach involves possible security issues. #--------------------------------------------------------------------- [buildtimes] 00.01 hours (or 000.47 minutes) - Dell Inspiron 1545 00.01 hours (or 000.52 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.01 hours (or 000.77 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.04 hours (or 002.30 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM #--------------------------------------------------------------------- [settings] configure = none exepack = yes license = GNU General Public License, version 2 (June 1991) patches = required revision = B.02.15 tmpsize = 24M #--------------------------------------------------------------------- [depends] expat fontconfig freetype2 gtkcore libpng pciutils # For alternate "pci.ids" data file usbutils # For alternate "usb.ids" data file xorg #--------------------------------------------------------------------- [build] mkdir -p $PKGDIR_PROD/{bin,data,man} make make install make gui make install-gui cd $PKGDIR_PROD/bin mv lshw-gtk lshw-gtk.bin cp -a $PKGDIR_SPECIAL/lshw-gtk.wrapper lshw-gtk chmod 755 lshw-gtk ln -nsf $PRODTREE/pciutils/share/pci.ids \ $PKGDIR_PROD/data/lshw/ #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = http://packages.debian.org/unstable/source/lshw url_home = http://www.ezix.org/project/wiki/HardwareLiSter url_lfs = n/a url_tarball = http://www.ezix.org/software/files/\ lshw-B.02.15.tar.gz