summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Hallendal <hallski@gentoo.org>2001-11-10 12:05:20 +0000
committerMikael Hallendal <hallski@gentoo.org>2001-11-10 12:05:20 +0000
commit6c2a35ed835adca2cd3401929f3608543b16d0c0 (patch)
tree50ed66a9ac2c98eea09084821bae89c0e14756f7 /dev-libs/libusb/libusb-0.1.3b.ebuild
parentA=-fix, try->die,... (diff)
downloadgentoo-2-6c2a35ed835adca2cd3401929f3608543b16d0c0.tar.gz
gentoo-2-6c2a35ed835adca2cd3401929f3608543b16d0c0.tar.bz2
gentoo-2-6c2a35ed835adca2cd3401929f3608543b16d0c0.zip
A=-fix, try->die, tab-fixes, stylefixes, ...
Diffstat (limited to 'dev-libs/libusb/libusb-0.1.3b.ebuild')
-rw-r--r--dev-libs/libusb/libusb-0.1.3b.ebuild17
1 files changed, 8 insertions, 9 deletions
diff --git a/dev-libs/libusb/libusb-0.1.3b.ebuild b/dev-libs/libusb/libusb-0.1.3b.ebuild
index b2676158ff35..cea61e0f7249 100644
--- a/dev-libs/libusb/libusb-0.1.3b.ebuild
+++ b/dev-libs/libusb/libusb-0.1.3b.ebuild
@@ -1,26 +1,25 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Your Name <your email>
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb/libusb-0.1.3b.ebuild,v 1.1 2001/06/05 19:43:20 achim Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb/libusb-0.1.3b.ebuild,v 1.2 2001/11/10 12:05:20 hallski Exp $
-A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="Userspace access to USB devices"
-SRC_URI="http://prdownloads.sourceforge.net/libusb/${A}"
+SRC_URI="http://prdownloads.sourceforge.net/libusb/${P}.tar.gz"
HOMEPAGE="http://libusb.sourceforge.net"
DEPEND="virtual/glibc"
src_compile() {
+ ./configure --host=${CHOST} \
+ --prefix=/usr
+ assert
- try ./configure --prefix=/usr --host=${CHOST}
- try make
-
+ make || die
}
src_install () {
+ make DESTDIR=${D} install || die
- try make DESTDIR=${D} install
- dodoc AUTHORS NEWS README
+ dodoc AUTHORS NEWS README
}
-