summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2004-08-06 03:59:00 +0000
committerAlastair Tse <liquidx@gentoo.org>2004-08-06 03:59:00 +0000
commite0fcdf72b9ca382f78ebf6e4dd5fa5abc5aaff0f (patch)
treef576f465d50c9a94a9267974fe559f4316e3c9e8
parentrebuild manifest (diff)
downloadhistorical-e0fcdf72b9ca382f78ebf6e4dd5fa5abc5aaff0f.tar.gz
historical-e0fcdf72b9ca382f78ebf6e4dd5fa5abc5aaff0f.tar.bz2
historical-e0fcdf72b9ca382f78ebf6e4dd5fa5abc5aaff0f.zip
adding macos. adding macos specific changes like glibtoolize
-rw-r--r--dev-libs/libusb/ChangeLog5
-rw-r--r--dev-libs/libusb/Manifest10
-rw-r--r--dev-libs/libusb/libusb-0.1.8.ebuild17
3 files changed, 19 insertions, 13 deletions
diff --git a/dev-libs/libusb/ChangeLog b/dev-libs/libusb/ChangeLog
index 4fe3733bd898..5751bcdc8d5d 100644
--- a/dev-libs/libusb/ChangeLog
+++ b/dev-libs/libusb/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-libs/libusb
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb/ChangeLog,v 1.21 2004/07/19 02:48:40 tgall Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb/ChangeLog,v 1.22 2004/08/06 03:59:00 liquidx Exp $
+
+ 05 Aug 2004; Alastair Tse <liquidx@gentoo.org> libusb-0.1.8.ebuild:
+ adding macos. adding macos specific changes like glibtoolize
18 Jul 2004; Tom Gall <tgall@gentoo.org> libusb-0.1.8.ebuild:
stable on ppc64, bug #57128
diff --git a/dev-libs/libusb/Manifest b/dev-libs/libusb/Manifest
index d2daaae573bd..7ff418d88aa7 100644
--- a/dev-libs/libusb/Manifest
+++ b/dev-libs/libusb/Manifest
@@ -1,9 +1,9 @@
-MD5 e33faff2bd9f685bd2096b1b3882c198 ChangeLog 2673
-MD5 8bf7797cf5f498056a4d487ac67b0660 libusb-0.1.7-r1.ebuild 923
+MD5 8220a90edf7b4c64e3c0be2228dec1d8 libusb-0.1.8.ebuild 1334
MD5 98dd7a6a9926caf28cfef85312347cbc libusb-0.1.7.ebuild 891
-MD5 e4d96942fa2c550d1da19606b1306169 libusb-0.1.8.ebuild 1167
+MD5 8bf7797cf5f498056a4d487ac67b0660 libusb-0.1.7-r1.ebuild 923
+MD5 dd981e72f0ad4344e970666b22b07bf1 ChangeLog 2809
MD5 8f906ffe0aa837e5e26fe03af3043461 metadata.xml 219
+MD5 13b0f271f94755b89f904270daa0659d files/libusb-0.1.8-amd64-fPIC.patch 268
MD5 9cb49945879f78000d198c898d197e54 files/digest-libusb-0.1.7 64
-MD5 9cb49945879f78000d198c898d197e54 files/digest-libusb-0.1.7-r1 64
MD5 edf695ba0c7ee442c501401384faaa94 files/digest-libusb-0.1.8 64
-MD5 13b0f271f94755b89f904270daa0659d files/libusb-0.1.8-amd64-fPIC.patch 268
+MD5 9cb49945879f78000d198c898d197e54 files/digest-libusb-0.1.7-r1 64
diff --git a/dev-libs/libusb/libusb-0.1.8.ebuild b/dev-libs/libusb/libusb-0.1.8.ebuild
index 28dffd60be96..c95ad939bc09 100644
--- a/dev-libs/libusb/libusb-0.1.8.ebuild
+++ b/dev-libs/libusb/libusb-0.1.8.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb/libusb-0.1.8.ebuild,v 1.6 2004/07/19 02:48:40 tgall Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb/libusb-0.1.8.ebuild,v 1.7 2004/08/06 03:59:00 liquidx Exp $
inherit eutils
@@ -10,25 +10,28 @@ SRC_URI="mirror://sourceforge/libusb/${P}.tar.gz"
LICENSE="LGPL-2"
SLOT="0"
-KEYWORDS="~x86 ~sparc ~ppc ~alpha ~amd64 ~ia64 ppc64"
+KEYWORDS="~x86 ~sparc ~ppc ~alpha ~amd64 ~ia64 ppc64 macos"
IUSE="debug doc"
DEPEND="sys-devel/libtool
- doc? ( app-text/openjade
- =app-text/docbook-sgml-dtd-3.1-r1 )"
+ !macos? ( doc? ( app-text/openjade
+ =app-text/docbook-sgml-dtd-3.1-r1 ) )"
src_unpack(){
unpack ${A}
# needed by libgphoto2, see bug #45889
- cd ${S}
- epatch ${FILESDIR}/libusb-0.1.8-amd64-fPIC.patch
+ cd ${S}; epatch ${FILESDIR}/libusb-0.1.8-amd64-fPIC.patch
+ [ "${ARCH}x" = "macosx" ] && \
+ ( aclocal && autoconf && automake --add-missing )
}
src_compile() {
local myconf
# keep this otherwise libraries will not have .so extensions
- libtoolize --force
+ [ "${ARCH}x" = "macosx" ] \
+ && glibtoolize --force \
+ || elibtoolize --force
use doc \
&& myconf="--enable-build-docs" \