summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2010-06-13 07:21:12 +0000
committerHans de Graaff <graaff@gentoo.org>2010-06-13 07:21:12 +0000
commit5bf20dbd50182b15c4c858bce154ad8abd8b512a (patch)
treef399a24a1f702b49edd3a2489e904f33e0377a8c /dev-ruby/canny/canny-0.1.0-r1.ebuild
parentFixed issue with a space in the logrotate script (diff)
downloadgentoo-2-5bf20dbd50182b15c4c858bce154ad8abd8b512a.tar.gz
gentoo-2-5bf20dbd50182b15c4c858bce154ad8abd8b512a.tar.bz2
gentoo-2-5bf20dbd50182b15c4c858bce154ad8abd8b512a.zip
Convert to ruby-ng.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/canny/canny-0.1.0-r1.ebuild')
-rw-r--r--dev-ruby/canny/canny-0.1.0-r1.ebuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/canny/canny-0.1.0-r1.ebuild b/dev-ruby/canny/canny-0.1.0-r1.ebuild
new file mode 100644
index 000000000000..2ec5ba9522fe
--- /dev/null
+++ b/dev-ruby/canny/canny-0.1.0-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/canny/canny-0.1.0-r1.ebuild,v 1.1 2010/06/13 07:21:12 graaff Exp $
+
+EAPI=2
+USE_RUBY="ruby18"
+
+inherit ruby-ng
+
+IUSE=""
+
+DESCRIPTION="Canny is a template library for Ruby."
+HOMEPAGE="http://canny.sourceforge.net/"
+SRC_URI="mirror://sourceforge/canny/${P}.tar.gz"
+
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86"
+LICENSE="LGPL-2.1"
+SLOT="0"
+
+each_ruby_configure() {
+ ruby setup.rb config || die "setup.rb config failed"
+ ruby setup.rb setup || die "setup.rb setup failed"
+}
+
+each_ruby_install() {
+ ruby setup.rb config --prefix="${D}/usr" || die "setup.rb config failed"
+ ruby setup.rb install || die "setup.rb install failed"
+}
+
+all_ruby_install() {
+ dodoc ChangeLog README* example.rb templates/*
+}