summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2010-07-11 19:55:16 +0000
committerHans de Graaff <graaff@gentoo.org>2010-07-11 19:55:16 +0000
commit09bc6873b7e3c0fd9d0b99881332e2c3b01fdcc1 (patch)
treebe1be190f2d85dc2f8419243a6f8e51c8e4b5624 /dev-ruby
parentSet PYTHON_MODNAME. (diff)
downloadgentoo-2-09bc6873b7e3c0fd9d0b99881332e2c3b01fdcc1.tar.gz
gentoo-2-09bc6873b7e3c0fd9d0b99881332e2c3b01fdcc1.tar.bz2
gentoo-2-09bc6873b7e3c0fd9d0b99881332e2c3b01fdcc1.zip
Convert to ruby-ng.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/tclink/ChangeLog9
-rw-r--r--dev-ruby/tclink/tclink-3.4.4-r1.ebuild48
2 files changed, 55 insertions, 2 deletions
diff --git a/dev-ruby/tclink/ChangeLog b/dev-ruby/tclink/ChangeLog
index 608ad965db9c..9c2d988271d4 100644
--- a/dev-ruby/tclink/ChangeLog
+++ b/dev-ruby/tclink/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/tclink
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tclink/ChangeLog,v 1.1 2008/01/24 00:07:34 caleb Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tclink/ChangeLog,v 1.2 2010/07/11 19:55:16 graaff Exp $
+
+*tclink-3.4.4-r1 (11 Jul 2010)
+
+ 11 Jul 2010; Hans de Graaff <graaff@gentoo.org> +tclink-3.4.4-r1.ebuild:
+ Convert to ruby-ng.
*tclink-3.4.4 (23 Jan 2008)
diff --git a/dev-ruby/tclink/tclink-3.4.4-r1.ebuild b/dev-ruby/tclink/tclink-3.4.4-r1.ebuild
new file mode 100644
index 000000000000..764b3a0cea35
--- /dev/null
+++ b/dev-ruby/tclink/tclink-3.4.4-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tclink/tclink-3.4.4-r1.ebuild,v 1.1 2010/07/11 19:55:16 graaff Exp $
+
+EAPI=2
+USE_RUBY="ruby18"
+
+inherit ruby-ng
+
+MY_P=${P}-ruby
+
+DESCRIPTION="Make-like scripting in Ruby"
+HOMEPAGE="http://www.trustcommerce.com/tclink.html"
+SRC_URI="http://www.trustcommerce.com/downloads/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+# Tests use a live server.
+RESTRICT="test"
+
+S=${WORKDIR}/${MY_P}
+
+RDEPEND="${RDEPEND} >=dev-libs/openssl-0.9.8"
+DEPEND="${DEPEND} >=dev-libs/openssl-0.9.8"
+
+each_ruby_prepare() {
+ echo \#define TCLINK_VERSION \"${PV}-Ruby-`uname -sm | tr ' ' -`\" > config.h
+}
+
+each_ruby_configure() {
+ ${RUBY} extconf.rb || die
+}
+
+each_ruby_compile() {
+ emake || die
+}
+
+each_ruby_install() {
+ DESTDIR="${D}" emake install || die
+}
+
+all_ruby_install() {
+ dodoc README || die
+ dohtml doc/TCDevGuide.html || die
+}