diff options
author | Hans de Graaff <graaff@gentoo.org> | 2016-05-29 07:34:26 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2016-05-29 07:34:26 +0200 |
commit | 8a1984a960313c6475f5c70e8bdcd938044f684a (patch) | |
tree | 08230d0d2dab546b356ff23d10ae90074ffa5670 /dev-ruby/pcaprub | |
parent | dev-ruby/jquery-rails: cleanup (diff) | |
download | gentoo-8a1984a960313c6475f5c70e8bdcd938044f684a.tar.gz gentoo-8a1984a960313c6475f5c70e8bdcd938044f684a.tar.bz2 gentoo-8a1984a960313c6475f5c70e8bdcd938044f684a.zip |
dev-ruby/pcaprub: add 0.12.4
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-ruby/pcaprub')
-rw-r--r-- | dev-ruby/pcaprub/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/pcaprub/pcaprub-0.12.4.ebuild | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/pcaprub/Manifest b/dev-ruby/pcaprub/Manifest index ab2d83cd8f0a..62e74517d421 100644 --- a/dev-ruby/pcaprub/Manifest +++ b/dev-ruby/pcaprub/Manifest @@ -1,3 +1,4 @@ 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 +DIST pcaprub-0.12.4.gem 36864 SHA256 7f4fcab446331324fea57cac0f1a74406cb2903d2980ed6e410181713ca6845e SHA512 707221429dcdf95eba24076589054dd022ba8a479148c3ec8ce9667016225ee64bed13d3fdf8ebd46027244feec8e77a484c67f040d0439bfa44d9212997645b WHIRLPOOL 7abb2bdadaadec13b9e2599414e24e6e599c8cf57a7ffaebd44e9af681233fe7156aebaae1dfbb96dd5a379176ab83bbf12f5ea60f6bf6fabc4343d65245f91a diff --git a/dev-ruby/pcaprub/pcaprub-0.12.4.ebuild b/dev-ruby/pcaprub/pcaprub-0.12.4.ebuild new file mode 100644 index 000000000000..3c47b3d7fdf0 --- /dev/null +++ b/dev-ruby/pcaprub/pcaprub-0.12.4.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 +} |