diff options
Diffstat (limited to 'dev-ruby/flickr/flickr-1.0.2-r2.ebuild')
-rw-r--r-- | dev-ruby/flickr/flickr-1.0.2-r2.ebuild | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/dev-ruby/flickr/flickr-1.0.2-r2.ebuild b/dev-ruby/flickr/flickr-1.0.2-r2.ebuild deleted file mode 100644 index 90425bfa8f51..000000000000 --- a/dev-ruby/flickr/flickr-1.0.2-r2.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/flickr/flickr-1.0.2-r2.ebuild,v 1.1 2009/06/28 17:52:31 flameeyes Exp $ - -inherit ruby eutils - -DESCRIPTION="An insanely easy interface to the Flickr photo-sharing service." -HOMEPAGE="http://rubyforge.org/projects/flickr/" -SRC_URI="mirror://gentoo/${P}-gentoo.tar.bz2" - -S="${WORKDIR}/${P}-gentoo" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="test doc" - -# Tests fail for now, they don't seem to be designed to work just yet -RESTRICT="test" - -RDEPEND="dev-ruby/xml-simple" -DEPEND=" - test? ( dev-ruby/rake - dev-ruby/rubygems ) - doc? ( dev-ruby/rake - dev-ruby/rubygems )" - -USE_RUBY="ruby18" - -src_unpack() { - unpack ${A} - - cd "${S}"/lib - epatch "${FILESDIR}/${P}-fix.patch" - epatch "${FILESDIR}/${P}-typo.patch" -} - -src_compile() { - if use doc; then - rake rdoc || die "rake rdoc failed" - fi -} - -src_install() { - cd "${S}"/lib - doruby -r * || die "doruby failed" - - if use doc; then - dohtml -r "${S}"/doc/* || die "dohtml failed" - fi - - dohtml "${S}"/index.html || die "dohtml failed" - - insinto $(${RUBY} -r rbconfig -e 'print Config::CONFIG["sitedir"]')/../gems/1.8/specifications - doins "${S}"/${P}.gemspec || die "Unable to install fake gemspec" -} |