summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ml/camomile/camomile-0.5.3.ebuild')
-rw-r--r--dev-ml/camomile/camomile-0.5.3.ebuild29
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-ml/camomile/camomile-0.5.3.ebuild b/dev-ml/camomile/camomile-0.5.3.ebuild
new file mode 100644
index 000000000000..a3bac99aae72
--- /dev/null
+++ b/dev-ml/camomile/camomile-0.5.3.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/camomile/camomile-0.5.3.ebuild,v 1.1 2004/08/08 08:51:41 mattam Exp $
+
+DESCRIPTION="Camomile is a comprehensive Unicode library for ocaml."
+HOMEPAGE="http://camomile.sourceforge.net/"
+SRC_URI="http://heanet.dl.sourceforge.net/sourceforge/camomile/${P}.tar.bz2"
+LICENSE="LGPL-2"
+
+KEYWORDS="~x86 ~ppc"
+IUSE=""
+DEPEND=">=dev-lang/ocaml-3.07"
+
+src_compile() {
+ econf || die
+ # Does not support parallel builds.
+ make
+}
+
+src_install() {
+ local destdir=`ocamlfind printconf destdir`
+ dodir ${destdir}
+ export OCAMLFIND_DESTDIR=${D}${destdir}
+
+ # stublibs style
+ dodir ${destdir}/stublibs
+
+ make DESTDIR=${D} DATADIR=${D}/usr/share install
+}