diff options
author | Hans de Graaff <graaff@gentoo.org> | 2011-05-02 18:12:25 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2011-05-02 18:12:25 +0000 |
commit | b843e0ebcd29c18bc278899047f83587cc2398fb (patch) | |
tree | 85b3e55760f3d27eb35d4ca7053ccecd4dc965b7 /dev-ruby/ffi | |
parent | Version bump. (diff) | |
download | gentoo-2-b843e0ebcd29c18bc278899047f83587cc2398fb.tar.gz gentoo-2-b843e0ebcd29c18bc278899047f83587cc2398fb.tar.bz2 gentoo-2-b843e0ebcd29c18bc278899047f83587cc2398fb.zip |
Version bump.
(Portage version: 2.1.9.42/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/ffi')
-rw-r--r-- | dev-ruby/ffi/ChangeLog | 9 | ||||
-rw-r--r-- | dev-ruby/ffi/ffi-1.0.7.ebuild | 46 |
2 files changed, 53 insertions, 2 deletions
diff --git a/dev-ruby/ffi/ChangeLog b/dev-ruby/ffi/ChangeLog index d264fd8a9dba..2f16979e4377 100644 --- a/dev-ruby/ffi/ChangeLog +++ b/dev-ruby/ffi/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/ffi -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ffi/ChangeLog,v 1.15 2010/12/28 08:51:18 grobian Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ffi/ChangeLog,v 1.16 2011/05/02 18:12:25 graaff Exp $ + +*ffi-1.0.7 (02 May 2011) + + 02 May 2011; Hans de Graaff <graaff@gentoo.org> +ffi-1.0.7.ebuild: + Version bump. 28 Dec 2010; Fabian Groffen <grobian@gentoo.org> ffi-0.6.3-r1.ebuild: Marked ~x64-solaris diff --git a/dev-ruby/ffi/ffi-1.0.7.ebuild b/dev-ruby/ffi/ffi-1.0.7.ebuild new file mode 100644 index 000000000000..fb6744e462da --- /dev/null +++ b/dev-ruby/ffi/ffi-1.0.7.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ffi/ffi-1.0.7.ebuild,v 1.1 2011/05/02 18:12:25 graaff Exp $ + +EAPI=2 + +# jruby → unneeded, this is part of the standard JRuby distribution, and +# would just install a dummy. ree18 targets no longer supported upstream +# due to threading issues. +USE_RUBY="ruby18 ruby19" + +RUBY_FAKEGEM_TASK_TEST="spec" + +RUBY_FAKEGEM_TASK_DOC="doc:rdoc" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Ruby extension for programmatically loading dynamic libraries" +HOMEPAGE="http://wiki.github.com/ffi/ffi" + +SRC_URI="http://github.com/${PN}/${PN}/tarball/${PV} -> ${PN}-git-${PV}.tgz" +S="${WORKDIR}/${PN}-${PN}-*" + +IUSE="" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris" + +RDEPEND="${RDEPEND} dev-libs/libffi" +DEPEND="${DEPEND} dev-libs/libffi" + +ruby_add_bdepend dev-ruby/rake-compiler + +each_ruby_compile() { + ${RUBY} -S rake compile || die "compile failed" + ${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed" +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc samples/* || die +} |