summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-08-03 02:21:53 +0000
committerMike Frysinger <vapier@gentoo.org>2003-08-03 02:21:53 +0000
commitcd554866dd1ed835dc7abe88b5d5ed751c498272 (patch)
treec1558a4adc08d53500b64ba7bb51356b118ea2fe /dev-libs/libusb/libusb-0.1.7.ebuild
parentMorton released -mm3-1 (diff)
downloadhistorical-cd554866dd1ed835dc7abe88b5d5ed751c498272.tar.gz
historical-cd554866dd1ed835dc7abe88b5d5ed751c498272.tar.bz2
historical-cd554866dd1ed835dc7abe88b5d5ed751c498272.zip
DEBUGBUILD -> use debug
Diffstat (limited to 'dev-libs/libusb/libusb-0.1.7.ebuild')
-rw-r--r--dev-libs/libusb/libusb-0.1.7.ebuild24
1 files changed, 8 insertions, 16 deletions
diff --git a/dev-libs/libusb/libusb-0.1.7.ebuild b/dev-libs/libusb/libusb-0.1.7.ebuild
index 85a77d0b45cd..3a3698108610 100644
--- a/dev-libs/libusb/libusb-0.1.7.ebuild
+++ b/dev-libs/libusb/libusb-0.1.7.ebuild
@@ -1,44 +1,36 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb/libusb-0.1.7.ebuild,v 1.6 2003/06/19 17:38:00 wwoods Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb/libusb-0.1.7.ebuild,v 1.7 2003/08/03 02:19:56 vapier Exp $
-S=${WORKDIR}/${P}
DESCRIPTION="Userspace access to USB devices"
+HOMEPAGE="http://libusb.sourceforge.net/"
SRC_URI="mirror://sourceforge/libusb/${P}.tar.gz"
-HOMEPAGE="http://libusb.sourceforge.net"
-DEPEND="virtual/glibc
- doc? ( app-text/openjade =app-text/docbook-sgml-dtd-3.1-r1 )"
-
-SLOT="0"
LICENSE="LGPL-2"
+SLOT="0"
KEYWORDS="x86 sparc ppc alpha"
-src_compile() {
+DEPEND="virtual/glibc
+ doc? ( app-text/openjade =app-text/docbook-sgml-dtd-3.1-r1 )"
+src_compile() {
local myconf
-
use doc \
&& myconf="--enable-build-docs" \
|| myconf="--disable-build-docs"
-
- [ -n "${DEBUGBUILD}" ] \
+ use debug \
&& myconf="${myconf} --enable-debug=all" \
|| myconf="${myconf} --disable-debug"
-
econf ${myconf} || die
make || die
-
}
-src_install () {
-
+src_install() {
make DESTDIR=${D} install || die
dodoc AUTHORS NEWS README
cd doc/html
use doc && dohtml *.html
-
}