blob: b7d5971fd1c725367ece4b741fac900de747d2fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbutils/usbutils-0.9.ebuild,v 1.1 2002/02/25 01:17:01 blocke Exp $
S=${WORKDIR}/${P}
DESCRIPTION="USB enumeration utilities"
SRC_URI="http://usb.cs.tum.edu/download/usbutils/${P}.tar.gz"
HOMEPAGE="http://usb.cs.tum.edu/"
DEPEND="virtual/glibc"
src_compile() {
# put usb.ids in same place as pci.ids (/usr/share/misc)
./configure \
--host=${CHOST} \
--prefix=/usr \
--infodir=/usr/share/info \
--mandir=/usr/share/man \
--datadir=/usr/share/misc || die "./configure failed"
emake || die
}
src_install () {
make DESTDIR=${D} install || die
}
|