diff options
Diffstat (limited to 'dev-lang/orc/orc-0.4.5.ebuild')
-rw-r--r-- | dev-lang/orc/orc-0.4.5.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-lang/orc/orc-0.4.5.ebuild b/dev-lang/orc/orc-0.4.5.ebuild new file mode 100644 index 000000000000..4f0b2df0009f --- /dev/null +++ b/dev-lang/orc/orc-0.4.5.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/orc/orc-0.4.5.ebuild,v 1.1 2010/06/16 11:26:32 hwoarang Exp $ + +EAPI=3 + +WANT_AUTOMAKE="1.10.3" +inherit autotools + +DESCRIPTION="The Oil Runtime Compiler" +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 ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="static-libs examples" + +src_prepare() { + if ! use examples;then + sed -i "s:examples ::" Makefile.am \ + || die "sed failed" + eautomake + fi +} + +src_configure() { + econf \ + $(use_enable static-libs static) \ + --disable-dependency-tracking \ + --with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc README TODO + + find "${ED}" -name '*.la' -delete +} |