diff options
author | Thomas Cort <tcort@gentoo.org> | 2006-07-12 12:38:59 +0000 |
---|---|---|
committer | Thomas Cort <tcort@gentoo.org> | 2006-07-12 12:38:59 +0000 |
commit | e525a129af7d3e19d3cc8c2815e521e8c70b4c3b (patch) | |
tree | dccef1bcf9172a1c501e6479392101fd1b9765cf /dev-libs/libjit/libjit-0.0.6.ebuild | |
parent | Removed the inherit fortran since configure seems to work even without fortra... (diff) | |
download | historical-e525a129af7d3e19d3cc8c2815e521e8c70b4c3b.tar.gz historical-e525a129af7d3e19d3cc8c2815e521e8c70b4c3b.tar.bz2 historical-e525a129af7d3e19d3cc8c2815e521e8c70b4c3b.zip |
Version bump to 0.0.6.
Package-Manager: portage-2.1-r1
Diffstat (limited to 'dev-libs/libjit/libjit-0.0.6.ebuild')
-rw-r--r-- | dev-libs/libjit/libjit-0.0.6.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/dev-libs/libjit/libjit-0.0.6.ebuild b/dev-libs/libjit/libjit-0.0.6.ebuild new file mode 100644 index 000000000000..2ebee7aca51c --- /dev/null +++ b/dev-libs/libjit/libjit-0.0.6.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libjit/libjit-0.0.6.ebuild,v 1.1 2006/07/12 12:38:59 tcort Exp $ + +inherit eutils + +DESCRIPTION="libjit implements Just-In-Time compilation functionality and is designed to be independent of any particular virtual machine bytecode format or language" +HOMEPAGE="http://www.southern-storm.com.au/libjit.html" +SRC_URI="http://www.southern-storm.com.au/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="doc examples interpreter long-double new-reg-alloc" + +DEPEND="doc? ( app-text/texi2html )" + +src_compile() { + econf $(use_enable interpreter) \ + $(use_enable long-double) \ + $(use_enable new-reg-alloc) \ + || die "configure failed" + + emake || die "emake failed" + + if use doc ; then + if [ ! -f "${S}"/doc/libjit.texi ] ; then + die "libjit.texi was not generated" + fi + + texi2html -split_chapter "${S}"/doc/libjit.texi \ + || die "texi2html failed" + fi +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS ChangeLog NEWS README + + if use examples ; then + docinto examples + dodoc tutorial/{README,*.c} + fi + + if use doc ; then + docinto html + dohtml libjit/*.html + fi +} |