diff options
author | Alastair Tse <liquidx@gentoo.org> | 2005-11-03 21:36:42 +0000 |
---|---|---|
committer | Alastair Tse <liquidx@gentoo.org> | 2005-11-03 21:36:42 +0000 |
commit | 12dee4e6f824bbb232df1780dd7dd0a9c0c4afa6 (patch) | |
tree | 266691950c255e061af80cb35e3a69aeb588e466 /dev-libs/libusb/libusb-0.1.10a.ebuild | |
parent | initial import wrt bug#107220 (diff) | |
download | gentoo-2-12dee4e6f824bbb232df1780dd7dd0a9c0c4afa6.tar.gz gentoo-2-12dee4e6f824bbb232df1780dd7dd0a9c0c4afa6.tar.bz2 gentoo-2-12dee4e6f824bbb232df1780dd7dd0a9c0c4afa6.zip |
added freebsd patch (#100881)
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'dev-libs/libusb/libusb-0.1.10a.ebuild')
-rw-r--r-- | dev-libs/libusb/libusb-0.1.10a.ebuild | 35 |
1 files changed, 11 insertions, 24 deletions
diff --git a/dev-libs/libusb/libusb-0.1.10a.ebuild b/dev-libs/libusb/libusb-0.1.10a.ebuild index 832085767a14..af3878be97b9 100644 --- a/dev-libs/libusb/libusb-0.1.10a.ebuild +++ b/dev-libs/libusb/libusb-0.1.10a.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb/libusb-0.1.10a.ebuild,v 1.13 2005/07/07 00:29:55 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb/libusb-0.1.10a.ebuild,v 1.14 2005/11/03 21:36:42 liquidx Exp $ -inherit eutils libtool +inherit eutils libtool autotools DESCRIPTION="Userspace access to USB devices" HOMEPAGE="http://libusb.sourceforge.net/" @@ -21,32 +21,19 @@ DEPEND="sys-devel/libtool src_unpack(){ unpack ${A} + cd ${S} - if use ppc-macos ; then - aclocal || die - autoconf || die - automake --add-missing || die - fi + epatch ${FILESDIR}/${PV}-fbsd.patch + eautoreconf + elibtoolize } src_compile() { - local myconf - - # keep this otherwise libraries will not have .so extensions - use ppc-macos \ - && glibtoolize --force \ - || elibtoolize - - use doc \ - && myconf="--enable-build-docs" \ - || myconf="--disable-build-docs" - - use debug \ - && myconf="${myconf} --enable-debug=all" \ - || myconf="${myconf} --disable-debug" - - econf ${myconf} || die - make || die + econf \ + $(use_enable debug debug all) \ + $(use_enable doc build-docs) \ + || die "econf failed" + emake || die "emake failed" } src_install() { |