/[gentoo-x86]/dev-ruby/ruby-pcap/ruby-pcap-0.6-r1.ebuild
Gentoo

Contents of /dev-ruby/ruby-pcap/ruby-pcap-0.6-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Jul 11 13:50:29 2010 UTC (4 years, 5 months ago) by mr_bones_
Branch: MAIN
Changes since 1.1: +1 -2 lines
whitespace
(Portage version: 2.1.8.3/cvs/Linux i686)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-pcap/ruby-pcap-0.6-r1.ebuild,v 1.1 2010/07/11 08:25:12 graaff Exp $
4
5 EAPI=2
6 USE_RUBY="ruby18"
7
8 inherit ruby-ng
9
10 IUSE=""
11
12 DESCRIPTION="Extension library to use libpcap from Ruby"
13 HOMEPAGE="http://www.goto.info.waseda.ac.jp/%7efukusima/ruby/pcap-e.html"
14 SRC_URI="http://www.goto.info.waseda.ac.jp/%7efukusima/ruby/${P}.tar.gz"
15
16 SLOT="0"
17 LICENSE="GPL-2"
18 KEYWORDS="~amd64 ~x86"
19
20 S="${WORKDIR}/pcap"
21
22 PATCHES=( "${FILESDIR}/ruby-pcap-0.6-fixnum.patch" )
23
24 DEPEND="${DEPEND} net-libs/libpcap"
25 RDEPEND="${RDEPEND} net-libs/libpcap"
26
27 each_ruby_configure() {
28 ${RUBY} extconf.rb || die
29 }
30
31 each_ruby_compile() {
32 emake || die
33 }
34
35 each_ruby_install() {
36 DESTDIR="${D}" emake install || die
37 }
38
39 all_ruby_install() {
40 dodoc ChangeLog README README.ja
41 dohtml -r doc doc-ja
42
43 insinto /usr/share/doc/${PF}
44 doins -r examples
45 }

  ViewVC Help
Powered by ViewVC 1.1.20