diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2009-05-14 23:26:56 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2009-05-14 23:26:56 +0000 |
commit | 2180c2aa6fdef59a535b060bf0f06cc8142e2e4b (patch) | |
tree | 3593d6e53f4984e52d326f5f7f37228d67dae7fb /dev-libs/libusb-compat | |
parent | Add missing dependency (diff) | |
download | gentoo-2-2180c2aa6fdef59a535b060bf0f06cc8142e2e4b.tar.gz gentoo-2-2180c2aa6fdef59a535b060bf0f06cc8142e2e4b.tar.bz2 gentoo-2-2180c2aa6fdef59a535b060bf0f06cc8142e2e4b.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>.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/libusb-compat')
-rw-r--r-- | dev-libs/libusb-compat/ChangeLog | 11 | ||||
-rw-r--r-- | dev-libs/libusb-compat/libusb-compat-0.1.0.ebuild | 31 | ||||
-rw-r--r-- | dev-libs/libusb-compat/metadata.xml | 8 |
3 files changed, 50 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/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> |