summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2009-05-14 23:26:56 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2009-05-14 23:26:56 +0000
commitdfcd210727e2161c86a90d6f90ed7a2a17318fa4 (patch)
tree5876973ee15147f8df4512896a6520d30546ed1e /dev-libs/libusb-compat
parentAdd missing dependency (diff)
downloadhistorical-dfcd210727e2161c86a90d6f90ed7a2a17318fa4.tar.gz
historical-dfcd210727e2161c86a90d6f90ed7a2a17318fa4.tar.bz2
historical-dfcd210727e2161c86a90d6f90ed7a2a17318fa4.zip
Bug #247687: libusb-compat support to enable old libusb-using apps with the new libusb-1 series. Ebuild by Tiziano Müller <dev-zero@gentoo.org>.
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/libusb-compat')
-rw-r--r--dev-libs/libusb-compat/ChangeLog11
-rw-r--r--dev-libs/libusb-compat/Manifest4
-rw-r--r--dev-libs/libusb-compat/libusb-compat-0.1.0.ebuild31
-rw-r--r--dev-libs/libusb-compat/metadata.xml8
4 files changed, 54 insertions, 0 deletions
diff --git a/dev-libs/libusb-compat/ChangeLog b/dev-libs/libusb-compat/ChangeLog
new file mode 100644
index 000000000000..2e165b6f7760
--- /dev/null
+++ b/dev-libs/libusb-compat/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-libs/libusb-compat
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb-compat/ChangeLog,v 1.1 2009/05/14 23:26:56 robbat2 Exp $
+
+*libusb-compat-0.1.0 (14 May 2009)
+
+ 14 May 2009; Robin H. Johnson <robbat2@gentoo.org>
+ +libusb-compat-0.1.0.ebuild, +metadata.xml:
+ Bug #247687: libusb-compat support to enable old libusb-using apps with
+ the new libusb-1 series. Ebuild by Tiziano Müller <dev-zero@gentoo.org>.
+
diff --git a/dev-libs/libusb-compat/Manifest b/dev-libs/libusb-compat/Manifest
new file mode 100644
index 000000000000..3559b3e32bb2
--- /dev/null
+++ b/dev-libs/libusb-compat/Manifest
@@ -0,0 +1,4 @@
+DIST libusb-compat-0.1.0.tar.bz2 249362 RMD160 de6954f8fbae4850dabcc2b4faec710d568abd95 SHA1 7bf7f79053fafd851b76e132ae2f0cf49dee5508 SHA256 69ad5d62946885a60368381a3354b8fd19597bc6fc9ee25b4598977771429b8d
+EBUILD libusb-compat-0.1.0.ebuild 881 RMD160 26c9705543a453b3b3419a852c9519d76adcfcb8 SHA1 6a3334bb8d9ac72cf08c7fe952ffa523cb16da84 SHA256 a2b06790a02e078a14debb988962f42875e37f083e9579571f7ad6ba8a1bd2a5
+MISC ChangeLog 504 RMD160 886940a2fb7274e000038907fdd01ae0994599df SHA1 66e7346e78032215655772647f0a327487589682 SHA256 445dadaefcd91fcdb3b243fa893a7b15e7bcf409410801852b0d0c0d5b55f06f
+MISC metadata.xml 226 RMD160 648b1f4c4f30d91596a8bb5ee6713abbe558d1ee SHA1 454eb537623437bf8d58ae3cd0418e6a898bac61 SHA256 32bd7ea3d52eaade1cad03a261cd0f75ae3b0d10787fe646ece11c752b1cdfd2
diff --git a/dev-libs/libusb-compat/libusb-compat-0.1.0.ebuild b/dev-libs/libusb-compat/libusb-compat-0.1.0.ebuild
new file mode 100644
index 000000000000..a514c8bfd21e
--- /dev/null
+++ b/dev-libs/libusb-compat/libusb-compat-0.1.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb-compat/libusb-compat-0.1.0.ebuild,v 1.1 2009/05/14 23:26:56 robbat2 Exp $
+
+EAPI="2"
+
+DESCRIPTION="Userspace access to USB devices (libusb-0.1 compat wrapper)"
+HOMEPAGE="http://libusb.sourceforge.net/"
+SRC_URI="mirror://sourceforge/libusb/${P}.tar.bz2"
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="debug"
+
+RDEPEND=">=dev-libs/libusb-1"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_configure() {
+ econf \
+ $(use_enable debug debug-log)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ dodoc AUTHORS ChangeLog NEWS README || die "dodoc failed"
+
+ insinto /usr/share/doc/${PF}/examples
+ doins examples/*.c
+}
diff --git a/dev-libs/libusb-compat/metadata.xml b/dev-libs/libusb-compat/metadata.xml
new file mode 100644
index 000000000000..e135c6ed1c47
--- /dev/null
+++ b/dev-libs/libusb-compat/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>robbat2@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>