diff options
author | Hans de Graaff <graaff@gentoo.org> | 2016-01-21 07:36:56 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2016-01-21 07:36:56 +0100 |
commit | 894ef69fc19542a0999cd0c18fc3ab94b538652c (patch) | |
tree | 82b69372c63d3d2d5a62feb76e014f51d1c861bc /dev-ruby/pcaprub | |
parent | profiles: Mask a couple of old abandoned games for removal (diff) | |
download | gentoo-894ef69fc19542a0999cd0c18fc3ab94b538652c.tar.gz gentoo-894ef69fc19542a0999cd0c18fc3ab94b538652c.tar.bz2 gentoo-894ef69fc19542a0999cd0c18fc3ab94b538652c.zip |
dev-ruby/pcaprub: add 0.12.1
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-ruby/pcaprub')
-rw-r--r-- | dev-ruby/pcaprub/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/pcaprub/pcaprub-0.12.1.ebuild | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/pcaprub/Manifest b/dev-ruby/pcaprub/Manifest index 349da9753994..ab2d83cd8f0a 100644 --- a/dev-ruby/pcaprub/Manifest +++ b/dev-ruby/pcaprub/Manifest @@ -1,2 +1,3 @@ DIST pcaprub-0.11.3.gem 32768 SHA256 a6f724ce8fe1036a399cefe1c77d3b989cb335e31f078028160c8f875e576eef SHA512 0ac8b5b2be85a2e17dd9f253ae3705a9faca390cefbaeae737ba20a23a3e2d95a6d492d5f7b3ecac611361a264db43cc79fddfbab58056e7de8e075fb1d1ef4f WHIRLPOOL 5a65eb697aebb6282038c98c3bd121ec1eeeca56dc0633d5c5823a798f1a0b2ca11c5f40c95f1fe00481452164a74372fdad6341c812a82165d7106480552bbb DIST pcaprub-0.12.0.gem 34816 SHA256 6e5caacc1330df5238985f0c2a45e2d3a3bcbac02218551f6ebdee6df9c7af0f SHA512 5b37e01b4e93d7dc7a9e28c707b9333d0b92cfc27d0bf4af88e1478351d9eb8117d74c5c0a302e5094fd5cc39fa4fb5c962637fd9bfb09efb6fd44dc3a6b5771 WHIRLPOOL 6764e6584e6fd9466cc6823872713ec32f3bc3ec1dcd4d27cb5de812c1eb7b289f38ef8db39ee620b3aa55c1e028aa1a0f4df648ef1e3e17587fed36cdeb28ec +DIST pcaprub-0.12.1.gem 36352 SHA256 006f95d7d6ba7717d1c6d4b52533e516c00cb9cf079caadbe30f053183bf65c0 SHA512 afbffd6453339cc5208ed81db120b3a32e449fb73cbeaba5dde4acebcc9be853e73c7331f49ba8a1e0165ccff4fdb7d21ece5ed834eea6871607d19ca46be0df WHIRLPOOL a7e77832f03118b8e053db433f6e49c7ede47f928019735a4a49e55aa8b9511af2eebefa433b727393758d4f707bdd1ddb577ae58b73c658d36c972dad0aceaf diff --git a/dev-ruby/pcaprub/pcaprub-0.12.1.ebuild b/dev-ruby/pcaprub/pcaprub-0.12.1.ebuild new file mode 100644 index 000000000000..3c47b3d7fdf0 --- /dev/null +++ b/dev-ruby/pcaprub/pcaprub-0.12.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +USE_RUBY="ruby20 ruby21 ruby22 ruby23" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="FAQ.rdoc README.rdoc USAGE.rdoc" + +inherit multilib ruby-fakegem versionator + +DESCRIPTION="Libpcap bindings for ruby compat" +HOMEPAGE="https://rubygems.org/gems/pcaprub" + +LICENSE="LGPL-2.1" +SLOT="$(get_version_component_range 1-2)" +KEYWORDS="~amd64 ~arm ~x86" + +DEPEND+="net-libs/libpcap" +RDEPEND+="net-libs/libpcap" + +# Tests require live access to a network device as root. +RESTRICT="test" + +each_ruby_configure() { + ${RUBY} -Cext/pcaprub_c extconf.rb || die +} + +each_ruby_compile() { + emake -C ext/pcaprub_c V=1 + cp ext/pcaprub_c/pcaprub_c$(get_modname) lib || die +} |