diff options
Diffstat (limited to 'dev-lang/orc/orc-0.4.19.ebuild')
-rw-r--r-- | dev-lang/orc/orc-0.4.19.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-lang/orc/orc-0.4.19.ebuild b/dev-lang/orc/orc-0.4.19.ebuild new file mode 100644 index 000000000000..63d26ba4c5d0 --- /dev/null +++ b/dev-lang/orc/orc-0.4.19.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/orc/orc-0.4.19.ebuild,v 1.1 2014/04/23 01:49:36 leio Exp $ + +EAPI="5" + +inherit autotools-multilib 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://gstreamer.freedesktop.org/src/${PN}/${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="examples static-libs" + +RDEPEND="" +DEPEND="${RDEPEND} + dev-util/gtk-doc-am +" + +src_prepare() { + if ! use examples; then + sed -e '/SUBDIRS/ s:examples::' \ + -i Makefile.am Makefile.in || die + 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* + autotools-multilib_src_configure +} |