summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2010-07-08 18:23:30 +0000
committerHans de Graaff <graaff@gentoo.org>2010-07-08 18:23:30 +0000
commiteb8972a8eebc8467b936ce181b5bfd8122638c9b (patch)
tree859c059c1b09465516909ffe1428068a79578ec1 /dev-ruby/png
parentia64 stable wrt #321101 (diff)
downloadhistorical-eb8972a8eebc8467b936ce181b5bfd8122638c9b.tar.gz
historical-eb8972a8eebc8467b936ce181b5bfd8122638c9b.tar.bz2
historical-eb8972a8eebc8467b936ce181b5bfd8122638c9b.zip
Convert to ruby-fakegem.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/png')
-rw-r--r--dev-ruby/png/ChangeLog7
-rw-r--r--dev-ruby/png/png-1.2.0-r1.ebuild36
2 files changed, 42 insertions, 1 deletions
diff --git a/dev-ruby/png/ChangeLog b/dev-ruby/png/ChangeLog
index 89353a2dd603..215bc6111a94 100644
--- a/dev-ruby/png/ChangeLog
+++ b/dev-ruby/png/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/png
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/png/ChangeLog,v 1.6 2010/05/22 15:34:50 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/png/ChangeLog,v 1.7 2010/07/08 18:23:30 graaff Exp $
+
+*png-1.2.0-r1 (27 Jun 2010)
+
+ 27 Jun 2010; Hans de Graaff <graaff@gentoo.org> +png-1.2.0-r1.ebuild:
+ Convert to ruby-fakegem.
22 May 2010; Diego E. Pettenò <flameeyes@gentoo.org> png-1.2.0.ebuild:
Various cleanups.
diff --git a/dev-ruby/png/png-1.2.0-r1.ebuild b/dev-ruby/png/png-1.2.0-r1.ebuild
new file mode 100644
index 000000000000..e4988937445b
--- /dev/null
+++ b/dev-ruby/png/png-1.2.0-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/png/png-1.2.0-r1.ebuild,v 1.1 2010/07/08 18:23:30 graaff Exp $
+
+EAPI=2
+USE_RUBY="ruby18"
+
+RUBY_FAKEGEM_TASK_DOC="docs"
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="History.txt README.txt"
+
+inherit ruby-fakegem
+
+DESCRIPTION="An almost pure-Ruby Portable Network Graphics (PNG) library."
+HOMEPAGE="http://rubyforge.org/projects/seattlerb/"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+ruby_add_bdepend "doc? ( dev-ruby/hoe )"
+ruby_add_bdepend "test? ( dev-ruby/hoe dev-ruby/minitest )"
+ruby_add_rdepend ">=dev-ruby/ruby-inline-3.5.0"
+
+src_test() {
+ chmod 0755 ${WORKDIR/work/homedir} || die "Failed to fix permissions on home."
+ ruby-ng_src_test
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ insinto /usr/share/doc/${PF}
+ doins -r example
+}