summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis Francisco Araujo <araujo@gentoo.org>2009-01-02 15:26:54 +0000
committerLuis Francisco Araujo <araujo@gentoo.org>2009-01-02 15:26:54 +0000
commit2219fe2d3060c63b70ded5c6e1d6a3c950053c2d (patch)
tree449e80ab88c0cb46dd30ad527005810ae035d785 /dev-lang
parentAutomated update of use.local.desc (diff)
downloadgentoo-2-2219fe2d3060c63b70ded5c6e1d6a3c950053c2d.tar.gz
gentoo-2-2219fe2d3060c63b70ded5c6e1d6a3c950053c2d.tar.bz2
gentoo-2-2219fe2d3060c63b70ded5c6e1d6a3c950053c2d.zip
Adding new io release.
(Portage version: 2.2_rc20/cvs/Linux 2.6.25.9 x86_64)
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/io/ChangeLog9
-rw-r--r--dev-lang/io/io-2009.01.02.ebuild49
-rw-r--r--dev-lang/io/metadata.xml3
3 files changed, 59 insertions, 2 deletions
diff --git a/dev-lang/io/ChangeLog b/dev-lang/io/ChangeLog
index 41934286ff31..2aec4bc3907a 100644
--- a/dev-lang/io/ChangeLog
+++ b/dev-lang/io/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-lang/io
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/io/ChangeLog,v 1.2 2008/01/20 03:45:28 araujo Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/io/ChangeLog,v 1.3 2009/01/02 15:26:54 araujo Exp $
+
+*io-2009.01.02 (02 Jan 2009)
+
+ 02 Jan 2009; Luis F. Araujo <araujo@gentoo.org> +io-2009.01.02.ebuild:
+ New and improved io release. Fixing bug #252901. Thanks upstream for help.
*io-2008.01.17 (20 Jan 2008)
diff --git a/dev-lang/io/io-2009.01.02.ebuild b/dev-lang/io/io-2009.01.02.ebuild
new file mode 100644
index 000000000000..4e29b88579b0
--- /dev/null
+++ b/dev-lang/io/io-2009.01.02.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/io/io-2009.01.02.ebuild,v 1.1 2009/01/02 15:26:54 araujo Exp $
+
+DESCRIPTION="Io is a small, prototype-based programming language."
+HOMEPAGE="http://www.iolanguage.com"
+SRC_URI="mirror://gentoo/${P}.tar.gz
+ http://dev.gentoo.org/~araujo/snapshots/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="doc readline mysql cairo postgres dbi opengl ncurses sqlite sqlite3 zlib"
+DEPEND="dev-libs/lzo
+ readline? ( sys-libs/readline )
+ mysql? ( virtual/mysql )
+ cairo? ( x11-libs/cairo )
+ postgres? ( virtual/postgresql-server )
+ opengl? ( virtual/opengl )
+ dbi? ( dev-db/libdbi )
+ ncurses? ( sys-libs/ncurses )
+ sqlite? ( dev-db/sqlite )
+ sqlite3? ( >=dev-db/sqlite-3.0.0 )
+ zlib? ( sys-libs/zlib )"
+RDEPEND=""
+
+src_compile() {
+ make INSTALL_PREFIX="/usr" vm || die "make failed."
+ # Building optional addons if any.
+ useq readline && make ReadLine
+ useq mysql && make MySQL
+ useq cairo && make Cairo
+ useq postgres && make PostgreSQL
+ useq opengl && make OpenGL
+ useq dbi && make DBI
+ useq ncurses && make Curses
+ useq sqlite && make SQLite
+ useq sqlite3 && make SQLite3
+ useq zlib && make Zlib
+}
+
+src_install() {
+ make install \
+ INSTALL_PREFIX="${D}/usr" \
+ || die "make install failed"
+ if use doc; then
+ dodoc docs/docs.css docs/*.html
+ fi
+}
diff --git a/dev-lang/io/metadata.xml b/dev-lang/io/metadata.xml
index 1ef041303d71..7133564dd887 100644
--- a/dev-lang/io/metadata.xml
+++ b/dev-lang/io/metadata.xml
@@ -2,6 +2,9 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>no-herd</herd>
+<use>
+ <flag name='dbi'>Enables <pkg>dev-db/libdbi</pkg> support</flag>
+</use>
<maintainer>
<email>araujo@gentoo.org</email>
<name>Luis F. Araujo</name>