summaryrefslogtreecommitdiff
path: root/dev-ruby/blinkstick
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-04-28 09:54:45 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-04-28 09:54:45 +0100
commitb7ebc951da8800f711142f69d9d958bde67a112d (patch)
treee318514216845acb8f2e49fff7a5cba4027e9d91 /dev-ruby/blinkstick
parentdc7cbdfa65fd814b3b9aa3c56257da201109e807 (diff)
gentoo resync : 28.04.2019
Diffstat (limited to 'dev-ruby/blinkstick')
-rw-r--r--dev-ruby/blinkstick/Manifest3
-rw-r--r--dev-ruby/blinkstick/blinkstick-1.0.1_p20150901.ebuild50
-rw-r--r--dev-ruby/blinkstick/metadata.xml11
3 files changed, 64 insertions, 0 deletions
diff --git a/dev-ruby/blinkstick/Manifest b/dev-ruby/blinkstick/Manifest
new file mode 100644
index 000000000000..c20c8f30bc95
--- /dev/null
+++ b/dev-ruby/blinkstick/Manifest
@@ -0,0 +1,3 @@
+DIST blinkstick-1.0.1_p20150901.tar.gz 4216 BLAKE2B 970aea7dce0f5cd476a88302d02bfeef56e6614fea44c7948be7997c322bfa4859f3caf664d86e91693cdeaa0827c1144f5a6437ec3f285628d866b28d55a456 SHA512 6a1958226d3629fec0f3f4a6b29c822206a6f9d60e0b78502cd51f855b9f3f071b84a0e960b0e1a7eb4ef0847743f84bb21830dc973b1af24c21a30123f2f19e
+EBUILD blinkstick-1.0.1_p20150901.ebuild 962 BLAKE2B f354c6d34cb11314dbfa0c3dced0f59fef1a9922bbbdc305bc119b7ddd80b5bc9c7118b281ec71637abaf4bc1883a5e115a3d0dc064addcdd7dfd584ff350ec0 SHA512 96a8de469d60df4db97b4fa2d1a632fea29b76aac833e2d43726396a81f8594ea6de63bcc5ad5e4613843bf7258582e5fc8d5f8fcc0ca730ee272d4c70289d12
+MISC metadata.xml 345 BLAKE2B 5f67aaf56bf006d029d00f3595cadb0fcf96d9840872bf129d2cd7b4e2344e41a35cdf4d3214704a39ec847c3e3118030e746f5b626162796a3b0d33502f72c9 SHA512 c47fe3d360c507c212822ec5b90c9953bfa5ce25734c12535038acc0656a16533924f66aa9d5d04ee48a73d3c11444ecb4d6c3ee80d057bf76f369e665fa2ac5
diff --git a/dev-ruby/blinkstick/blinkstick-1.0.1_p20150901.ebuild b/dev-ruby/blinkstick/blinkstick-1.0.1_p20150901.ebuild
new file mode 100644
index 000000000000..c31e21734f2a
--- /dev/null
+++ b/dev-ruby/blinkstick/blinkstick-1.0.1_p20150901.ebuild
@@ -0,0 +1,50 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_RECIPE_DOC="none"
+RUBY_FAKEGEM_RECIPE_TEST="none"
+
+RUBY_FAKEGEM_VERSION="1.0.1.1"
+
+COMMIT="89e3f621132c2571d5f7c636b3962ff1b0a64564"
+
+inherit ruby-fakegem
+
+DESCRIPTION="ruby interface for blinkstick via libusb"
+HOMEPAGE="https://github.com/arvydas/blinkstick-ruby"
+SRC_URI="https://github.com/arvydas/blinkstick-ruby/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+RUBY_S="${PN}-ruby-${COMMIT}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples"
+
+ruby_add_rdepend "
+ >=dev-ruby/color-1.4.2
+ >=dev-ruby/libusb-0.4.0
+"
+
+all_ruby_install() {
+ if use examples; then
+ insinto /usr/share/${PN}
+ doins example-*.rb
+ fi
+ all_fakegem_install
+}
+
+each_ruby_install() {
+ mkdir -p lib/${PN}
+ mv ${PN}.rb lib
+ cat <<EOF >> lib/${PN}/version.rb
+class BlinkStick
+ VERSION = "1.0.1.1"
+end
+
+EOF
+ each_fakegem_install
+}
diff --git a/dev-ruby/blinkstick/metadata.xml b/dev-ruby/blinkstick/metadata.xml
new file mode 100644
index 000000000000..61b648b06390
--- /dev/null
+++ b/dev-ruby/blinkstick/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">arvydas/blinkstick-ruby</remote-id>
+ </upstream>
+</pkgmetadata>