diff options
author | Rick Farina <zerochaos@gentoo.org> | 2019-04-18 15:36:33 -0400 |
---|---|---|
committer | Rick Farina <zerochaos@gentoo.org> | 2019-04-18 16:40:01 -0400 |
commit | 6d69cf0a86cdeb7ffd01ecbce851a770d398c4b1 (patch) | |
tree | 0d49a6abaa02e92943834a5eaa2b7945ce60eca6 /dev-ruby/libusb | |
parent | sys-libs/libcap: amd64 stable wrt bug #683678 (diff) | |
download | gentoo-6d69cf0a86cdeb7ffd01ecbce851a770d398c4b1.tar.gz gentoo-6d69cf0a86cdeb7ffd01ecbce851a770d398c4b1.tar.bz2 gentoo-6d69cf0a86cdeb7ffd01ecbce851a770d398c4b1.zip |
dev-ruby/libusb: dep for blinkstick
Package-Manager: Portage-2.3.63, Repoman-2.3.12
Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Diffstat (limited to 'dev-ruby/libusb')
-rw-r--r-- | dev-ruby/libusb/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/libusb/libusb-0.6.4.ebuild | 30 | ||||
-rw-r--r-- | dev-ruby/libusb/metadata.xml | 11 |
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-ruby/libusb/Manifest b/dev-ruby/libusb/Manifest new file mode 100644 index 000000000000..e92d2a89f110 --- /dev/null +++ b/dev-ruby/libusb/Manifest @@ -0,0 +1 @@ +DIST libusb-0.6.4.gem 762368 BLAKE2B daca8049b82cb56fb8cac350f6953ce292c74370bf468497773b34b6017eef9c0252daf2a0213e660db99120a53193ea67943bb1d851ae1ee723ea84dbe289e0 SHA512 433425f9cc2600615a3e4baec962ff0901e9c0eae7a77c410d099f22742995b23bf9c143797b393843b3de26b8336263cd5b3d3d1cdcd8f91266d90201a6a6de diff --git a/dev-ruby/libusb/libusb-0.6.4.ebuild b/dev-ruby/libusb/libusb-0.6.4.ebuild new file mode 100644 index 000000000000..9d94b56b38ad --- /dev/null +++ b/dev-ruby/libusb/libusb-0.6.4.ebuild @@ -0,0 +1,30 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="binding that gives Ruby programmers access to arbitrary USB devices" +HOMEPAGE="https://github.com/larskanis/libusb" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND="" +PDEPEND="virtual/ruby-ffi + virtual/libusb" + +all_ruby_prepare() { + sed -i '/mini_portile2/d' ${PN}.gemspec || die + sed -i '/mini_portile2/d' lib/libusb/libusb_recipe.rb || die + sed -i '/mini_portile2/d' lib/libusb/gem_helper.rb || die + sed -i '/mini_portile2/d' lib/libusb/dependencies.rb || die +} diff --git a/dev-ruby/libusb/metadata.xml b/dev-ruby/libusb/metadata.xml new file mode 100644 index 000000000000..cb6b2f1b0c0e --- /dev/null +++ b/dev-ruby/libusb/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zerochaos@gentoo.org</email> + <name>Rick Farina</name> + </maintainer> + <upstream> + <remote-id type="github">larskanis/libusb</remote-id> + </upstream> +</pkgmetadata> |