|
Lines 2-8
Link Here
|
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbutils/usbutils-0.73.ebuild,v 1.1 2007/10/29 22:47:04 robbat2 Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbutils/usbutils-0.73.ebuild,v 1.1 2007/10/29 22:47:04 robbat2 Exp $ |
| 4 |
|
4 |
|
| 5 |
inherit eutils |
5 |
inherit eutils autotools |
| 6 |
|
6 |
|
| 7 |
DESCRIPTION="USB enumeration utilities" |
7 |
DESCRIPTION="USB enumeration utilities" |
| 8 |
HOMEPAGE="http://linux-usb.sourceforge.net/" |
8 |
HOMEPAGE="http://linux-usb.sourceforge.net/" |
|
Lines 21-26
Link Here
|
| 21 |
cd "${S}" |
21 |
cd "${S}" |
| 22 |
cp update-usbids.sh update-usbids.sh.orig |
22 |
cp update-usbids.sh update-usbids.sh.orig |
| 23 |
epatch "${FILESDIR}"/${PN}-0.72-update-usbids.patch |
23 |
epatch "${FILESDIR}"/${PN}-0.72-update-usbids.patch |
|
|
24 |
epatch "${FILESDIR}"/${P}-byteorder.patch |
| 24 |
|
25 |
|
| 25 |
# put usb.ids in same place as pci.ids (/usr/share/misc) |
26 |
# put usb.ids in same place as pci.ids (/usr/share/misc) |
| 26 |
sed -i \ |
27 |
sed -i \ |
|
Lines 28-33
Link Here
|
| 28 |
lsusb.8 || die "sed lsusb.8" |
29 |
lsusb.8 || die "sed lsusb.8" |
| 29 |
sed -e '/^DEST=/s:=usb.ids:=/usr/share/misc/usb.ids:' \ |
30 |
sed -e '/^DEST=/s:=usb.ids:=/usr/share/misc/usb.ids:' \ |
| 30 |
update-usbids.sh > update-usbids |
31 |
update-usbids.sh > update-usbids |
|
|
32 |
|
| 33 |
eautoreconf |
| 31 |
} |
34 |
} |
| 32 |
|
35 |
|
| 33 |
src_compile() { |
36 |
src_compile() { |