Gentoo Archives: gentoo-commits

From: "Hans de Graaff (graaff)" <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/ffi: ChangeLog ffi-0.6.3.ebuild
Date: Fri, 30 Apr 2010 20:13:06
Message-Id: 20100430201303.DFBDA2C04C@corvid.gentoo.org
1 graaff 10/04/30 20:13:03
2
3 Modified: ChangeLog
4 Added: ffi-0.6.3.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.1.8.3/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.5 dev-ruby/ffi/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ffi/ChangeLog?rev=1.5&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ffi/ChangeLog?rev=1.5&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ffi/ChangeLog?r1=1.4&r2=1.5
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/ffi/ChangeLog,v
19 retrieving revision 1.4
20 retrieving revision 1.5
21 diff -u -r1.4 -r1.5
22 --- ChangeLog 16 Feb 2010 11:01:26 -0000 1.4
23 +++ ChangeLog 30 Apr 2010 20:13:03 -0000 1.5
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-ruby/ffi
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ffi/ChangeLog,v 1.4 2010/02/16 11:01:26 flameeyes Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ffi/ChangeLog,v 1.5 2010/04/30 20:13:03 graaff Exp $
29 +
30 +*ffi-0.6.3 (30 Apr 2010)
31 +
32 + 30 Apr 2010; Hans de Graaff <graaff@g.o> +ffi-0.6.3.ebuild:
33 + Version bump.
34
35 *ffi-0.6.2 (16 Feb 2010)
36
37
38
39
40 1.1 dev-ruby/ffi/ffi-0.6.3.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ffi/ffi-0.6.3.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ffi/ffi-0.6.3.ebuild?rev=1.1&content-type=text/plain
44
45 Index: ffi-0.6.3.ebuild
46 ===================================================================
47 # Copyright 1999-2010 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/ffi/ffi-0.6.3.ebuild,v 1.1 2010/04/30 20:13:03 graaff Exp $
50
51 EAPI=2
52
53 # jruby → unneeded, this is part of the standard JRuby distribution,
54 # and would just install a dummy
55 USE_RUBY="ruby18 ruby19"
56
57 RUBY_FAKEGEM_TASK_TEST="spec"
58
59 RUBY_FAKEGEM_TASK_DOC="doc:rdoc"
60 RUBY_FAKEGEM_DOCDIR="doc"
61 RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc"
62
63 inherit ruby-fakegem
64
65 DESCRIPTION="Ruby extension for programmatically loading dynamic libraries"
66 HOMEPAGE="http://wiki.github.com/ffi/ffi"
67
68 SRC_URI="http://github.com/${PN}/${PN}/tarball/${PV} -> ${PN}-git-${PV}.tgz"
69 S="${WORKDIR}/${PN}-${PN}-*"
70
71 IUSE=""
72 LICENSE="BSD"
73 SLOT="0"
74 KEYWORDS="~amd64"
75
76 RDEPEND="dev-libs/libffi"
77 DEPEND="${RDEPEND}"
78
79 ruby_add_bdepend dev-ruby/rake-compiler
80
81 each_ruby_compile() {
82 ${RUBY} -S rake compile || die "compile failed"
83 ${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed"
84 }
85
86 all_ruby_install() {
87 all_fakegem_install
88
89 docinto examples
90 dodoc samples/* || die
91 }