diff options
Diffstat (limited to 'dev-ml/ulex/ulex-0.2-r1.ebuild')
-rw-r--r-- | dev-ml/ulex/ulex-0.2-r1.ebuild | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-ml/ulex/ulex-0.2-r1.ebuild b/dev-ml/ulex/ulex-0.2-r1.ebuild new file mode 100644 index 000000000000..8e0cdf1ff7e7 --- /dev/null +++ b/dev-ml/ulex/ulex-0.2-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/ulex/ulex-0.2-r1.ebuild,v 1.1 2004/05/10 21:42:31 mattam Exp $ + +IUSE="" + +DESCRIPTION="ulex: a lexer generator for unicode" +HOMEPAGE="http://www.cduce.org" +SRC_URI="http://www.cduce.org/download/${P}.tar.gz" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="x86 ~ppc" + +DEPEND=">=dev-lang/ocaml-3.06 + >=dev-ml/findlib-0.8" + +src_compile() { + epatch ${FILESDIR}/${P}-Makefile.patch + make all || die + make all.opt || die +} + +src_install() { + local destdir=`ocamlfind printconf destdir` + dodir ${destdir} + # dummy ld.conf, packages do not install C libraries + make OCAMLFIND_LDCONF=dummy OCAMLFIND_DESTDIR=${D}${destdir} install || die + dodoc README CHANGES LICENSE +} |