/[gentoo-alt]/trunk/overlay/dev-libs/libusb/libusb-0.1.12.ebuild
Gentoo

Contents of /trunk/overlay/dev-libs/libusb/libusb-0.1.12.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1228 - (show annotations) (download)
Wed Apr 5 19:57:30 2006 UTC (8 years ago) by flameeyes
File size: 1180 byte(s)
Add a bit of verbosity on failures and add missing app-text/docbook-dsssl-stylesheets dependency.
1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb/libusb-0.1.11.ebuild,v 1.4 2006/04/04 09:26:36 flameeyes Exp $
4
5 inherit eutils libtool autotools
6
7 DESCRIPTION="Userspace access to USB devices"
8 HOMEPAGE="http://libusb.sourceforge.net/"
9 SRC_URI="mirror://sourceforge/libusb/${P}.tar.gz"
10
11 LICENSE="LGPL-2"
12 SLOT="0"
13 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc-macos ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
14 IUSE="debug doc"
15
16 RDEPEND=""
17
18 DEPEND="doc? ( app-text/openjade
19 app-text/docbook-dsssl-stylesheets
20 ~app-text/docbook-sgml-dtd-4.2 )"
21
22 src_unpack() {
23 unpack ${A}
24 cd ${S}
25 sed -i -e 's:-Werror::' Makefile.am
26
27 epatch "${FILESDIR}/${P}-fbsd-hid.patch"
28
29 eautoreconf
30
31 elibtoolize
32 }
33
34 src_compile() {
35 econf \
36 $(use_enable debug debug all) \
37 $(use_enable doc build-docs) \
38 || die "econf failed"
39 emake || die "emake failed"
40 }
41
42 src_install() {
43 make DESTDIR=${D} install || die "make install failed"
44 dodoc AUTHORS NEWS README || die "dodoc failed"
45 if use doc; then
46 dohtml doc/html/*.html || die "dohtml failed"
47 fi
48 }
49
50 src_test() {
51 return
52 }

  ViewVC Help
Powered by ViewVC 1.1.20