diff options
Diffstat (limited to 'dev-ruby/ed25519')
-rw-r--r-- | dev-ruby/ed25519/Manifest | 3 | ||||
-rw-r--r-- | dev-ruby/ed25519/ed25519-1.2.4.ebuild | 35 | ||||
-rw-r--r-- | dev-ruby/ed25519/metadata.xml | 11 |
3 files changed, 49 insertions, 0 deletions
diff --git a/dev-ruby/ed25519/Manifest b/dev-ruby/ed25519/Manifest new file mode 100644 index 000000000000..1d0fad9b49bd --- /dev/null +++ b/dev-ruby/ed25519/Manifest @@ -0,0 +1,3 @@ +DIST ed25519-1.2.4.tar.gz 136685 BLAKE2B d0fd78f16df2b09f5835fca4b0963cee930e17ece2c4eea2cbf4544ed1a5e30c7dc63525b285f4e1e150e5e70d1e8207ca07ce985c27441a903c69875fd92dee SHA512 cf2de7781848d804f3a279baef26f887846d7d846d225293c74dc3f4e301d18518c9edc8b721f9637fff8f087703e91d2376119f2d8185ef19be5862f99801b3 +EBUILD ed25519-1.2.4.ebuild 793 BLAKE2B 7cf4c520f206d698dd5109c2b2061fe4f1a5a2b232b7a9fc4fe077af5784e149ed750e3862cc09b64ab08c0f6ddef8d0c285ac82e94cd58e5474f684e77dcd26 SHA512 28f05e4c9b963581ca923c8388c8688feec1e8679ed97f91f9d87ea9f68ef5799d69bccc1d613d404e409a763ecb64cb45aa45e22612dd5f5242d5ef2c07d743 +MISC metadata.xml 343 BLAKE2B cda5dfa27c8ad6f26c92ebb6ff29d1d861211716018a37c1b4e5736191b9c9b1805b4f9cb05817345af609f0df7b458e3d223b9a2d79e213098ca08bd7457f5e SHA512 68f441e5fba00bf886e2035f32e1f16522340d762b0872f39783d8d8659044c69e63d6b36f401adf2519c5e160c88aa39fb5bed58ea64dfcd607b2e72d8a6918 diff --git a/dev-ruby/ed25519/ed25519-1.2.4.ebuild b/dev-ruby/ed25519/ed25519-1.2.4.ebuild new file mode 100644 index 000000000000..ad1b52d61a5b --- /dev/null +++ b/dev-ruby/ed25519/ed25519-1.2.4.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="Library for the Ed25519 public-key signature system" +HOMEPAGE="https://github.com/crypto-rb/ed25519" +SRC_URI="https://github.com/crypto-rb/ed25519/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' spec/spec_helper.rb || die +} + +each_ruby_configure() { + ${RUBY} -Cext/ed25519_ref10 extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/ed25519_ref10 + cp ext/ed25519_ref10/ed25519_ref10.so lib/ || die +} diff --git a/dev-ruby/ed25519/metadata.xml b/dev-ruby/ed25519/metadata.xml new file mode 100644 index 000000000000..63e6d11b32c9 --- /dev/null +++ b/dev-ruby/ed25519/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="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">crypto-rb/ed25519</remote-id> + </upstream> +</pkgmetadata> |