summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2013-04-29 13:49:11 +0000
committerAlexandre Rostovtsev <tetromino@gentoo.org>2013-04-29 13:49:11 +0000
commit7f0495e636a11a7ae6b28c515c925d025040ea6c (patch)
tree239d97215150d5fc716d54ac1a9900ea0d23668e /dev-lang/orc/orc-0.4.17.ebuild
parentMove KEYWORDS on another line to avoid ekeyword failure (diff)
downloadgentoo-2-7f0495e636a11a7ae6b28c515c925d025040ea6c.tar.gz
gentoo-2-7f0495e636a11a7ae6b28c515c925d025040ea6c.tar.bz2
gentoo-2-7f0495e636a11a7ae6b28c515c925d025040ea6c.zip
Version bump. Remove obsolete versions. Fix building with automake-1.13 (bug #466956, thanks to Alphat-PC).
(Portage version: 2.2.0_alpha173/cvs/Linux x86_64, signed Manifest commit with key CF0ADD61)
Diffstat (limited to 'dev-lang/orc/orc-0.4.17.ebuild')
-rw-r--r--dev-lang/orc/orc-0.4.17.ebuild42
1 files changed, 42 insertions, 0 deletions
diff --git a/dev-lang/orc/orc-0.4.17.ebuild b/dev-lang/orc/orc-0.4.17.ebuild
new file mode 100644
index 000000000000..1f595611806d
--- /dev/null
+++ b/dev-lang/orc/orc-0.4.17.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/orc/orc-0.4.17.ebuild,v 1.1 2013/04/29 13:49:11 tetromino Exp $
+
+EAPI="5"
+inherit autotools eutils flag-o-matic
+
+DESCRIPTION="The Oil Runtime Compiler, a just-in-time compiler for array operations"
+HOMEPAGE="http://code.entropywave.com/projects/orc/"
+SRC_URI="http://code.entropywave.com/download/orc/${P}.tar.gz"
+
+LICENSE="BSD BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="static-libs examples"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ dev-util/gtk-doc-am"
+
+src_prepare() {
+ if ! use examples; then
+ sed -i -e '/SUBDIRS/s:examples::' Makefile.am || die
+ epatch "${FILESDIR}/${P}-AM_CONFIG_HEADER.patch" # in 0.4.18
+ AT_M4DIR="m4" eautoreconf
+ fi
+}
+
+src_configure() {
+ # any optimisation on PPC/Darwin yields in a complaint from the assembler
+ # Parameter error: r0 not allowed for parameter %lu (code as 0 not r0)
+ # the same for Intel/Darwin, although the error message there is different
+ # but along the same lines
+ [[ ${CHOST} == *-darwin* ]] && filter-flags -O*
+ econf \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+ prune_libtool_files
+}