diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-08-04 08:53:53 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-08-04 08:53:53 +0100 |
commit | e3872864be25f7421015bef2732fa57c0c9fb726 (patch) | |
tree | 9cb29a544215119b5c5538e37211b994ce1c87ae /dev-ruby/pcaprub | |
parent | 480486b52ea64765faf696c88b2c6a26a5a454d4 (diff) |
gentoo resync : 04.08.2018
Diffstat (limited to 'dev-ruby/pcaprub')
-rw-r--r-- | dev-ruby/pcaprub/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/pcaprub/pcaprub-0.13.0.ebuild | 33 |
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/pcaprub/Manifest b/dev-ruby/pcaprub/Manifest index 3f876fa073bc..b452bb7b3b59 100644 --- a/dev-ruby/pcaprub/Manifest +++ b/dev-ruby/pcaprub/Manifest @@ -1,3 +1,5 @@ DIST pcaprub-0.12.4.gem 36864 BLAKE2B c2e86624431cc758059a997ebae716adb1d7de74ba62a375787608f6c68f7b85a614ec5859e251724475e1b68e8e90108f408a2e833f896461a95bda04d4d9ad SHA512 707221429dcdf95eba24076589054dd022ba8a479148c3ec8ce9667016225ee64bed13d3fdf8ebd46027244feec8e77a484c67f040d0439bfa44d9212997645b +DIST pcaprub-0.13.0.gem 36864 BLAKE2B 0a0ca07da261de2e8bd7aaa131bbda9f6ee3cd5eb5fa214c552179c707d20345bcedc8db5d49590e69c41220e69f93a6d9f0b1c1b6f768c25ab648d50dead388 SHA512 6099996cca317194582a50ac89769d11ba802a9658c67f707e342b3c345bcaab26fba5ca2dc245a39eeb01f9ff6fdde1ae64a3a1ee4dd0e5243bae2ebed37e5f EBUILD pcaprub-0.12.4.ebuild 775 BLAKE2B bce93ad392b6bc13a498bb927b0f27a45f20fd952d7f762074d5730bd9dd6a3dafa301bbd74652e193de92348f125a1741b12114b01b9a6b2a36a54a6a4dedfe SHA512 aa620e625f70ad17d7354f1a953d413b7c349d58255b74bed08dad41f5d2e19830ad640040827915c204bf3bd8708743ac838f9f029964a5e2c7d740bd506fb9 +EBUILD pcaprub-0.13.0.ebuild 746 BLAKE2B 1b7c088e342a4707d9c9f6dbe9b072ab7c04797bbd8d91ec9b30a99502909cebf9a482aaca4be9f62a7d1eef81de94c6e414a1b26eb05d2e0e95923d7db185f7 SHA512 730846f532300cf61383a9ab30d5d14c198ee02c5755223e1d0aff7bd1834112d3ed995b4007a909162646c0a01594a7a697be2e3450e4cbb30e21e00097259c MISC metadata.xml 433 BLAKE2B 2782f98bbd93dcc77f98585870e85b8031ec65f752050a382d3fcb637f57ba330bf40b592dd5494792977d555373abd316209df45263d8b2d411c9a4fd4271cd SHA512 0e1abd6609263bc8770684a59646ffdfedffcb5b14a4d2e160b3edeb44ce89154b58ad14e6c830e63ca39cf6799261c40182040d570d422cf4e6bd9732a30eec diff --git a/dev-ruby/pcaprub/pcaprub-0.13.0.ebuild b/dev-ruby/pcaprub/pcaprub-0.13.0.ebuild new file mode 100644 index 000000000000..d85148c26b66 --- /dev/null +++ b/dev-ruby/pcaprub/pcaprub-0.13.0.ebuild @@ -0,0 +1,33 @@ +# 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="FAQ.rdoc README.rdoc USAGE.rdoc" + +inherit multilib ruby-fakegem eapi7-ver + +DESCRIPTION="Libpcap bindings for ruby compat" +HOMEPAGE="https://rubygems.org/gems/pcaprub" + +LICENSE="LGPL-2.1" +SLOT="$(ver_cut 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 +} |