Set up an ebuild for the discover tool in debian. This is kind of neat because it is easy to integrate with other tools. Two ebuilds are attached:
discover-data contains the pci ids pnp ids and usb ids for devices
discover contains the real software.
Created attachment 2369 [details]
ebuild for the hardware detection tool
Created attachment 2370 [details]
data for hardware autodetection
I did not look at this yet, but one problem I can for see, is that the rc-script
(/etc/init.d/discover) will have to be updated for Gentoo.
Already in Portage