summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Sozeau <mattam@gentoo.org>2004-05-10 21:18:35 +0000
committerMatthieu Sozeau <mattam@gentoo.org>2004-05-10 21:18:35 +0000
commitf4b764a8ff1811cb15b8f0df6b6f10ca5ed7ff60 (patch)
tree0870d74e6c210facecea70a03fa869cccdef5b04 /dev-ml/camlimages/camlimages-2.11-r1.ebuild
parentadded gnuconfig_update and ~amd64 keyword (diff)
downloadhistorical-f4b764a8ff1811cb15b8f0df6b6f10ca5ed7ff60.tar.gz
historical-f4b764a8ff1811cb15b8f0df6b6f10ca5ed7ff60.tar.bz2
historical-f4b764a8ff1811cb15b8f0df6b6f10ca5ed7ff60.zip
Fix bug #50625
Diffstat (limited to 'dev-ml/camlimages/camlimages-2.11-r1.ebuild')
-rw-r--r--dev-ml/camlimages/camlimages-2.11-r1.ebuild35
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-ml/camlimages/camlimages-2.11-r1.ebuild b/dev-ml/camlimages/camlimages-2.11-r1.ebuild
new file mode 100644
index 000000000000..b3e5abf61900
--- /dev/null
+++ b/dev-ml/camlimages/camlimages-2.11-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/camlimages/camlimages-2.11-r1.ebuild,v 1.1 2004/05/10 21:18:35 mattam Exp $
+
+IUSE=""
+
+DESCRIPTION="Library used by active-dvi"
+HOMEPAGE="http://pauillac.inria.fr/advi/"
+SRC_URI="ftp://ftp.inria.fr/INRIA/caml-light/bazar-ocaml/${P}.tgz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND=">=dev-lang/ocaml-3.06"
+
+
+src_compile() {
+ econf || die
+ emake || die
+ emake opt || die
+}
+
+src_install() {
+ make CAMLDIR=${D}/usr/lib/ocaml/ \
+ LIBDIR=${D}/usr/lib/ocaml/camlimages \
+ DESTDIR=${D} \
+ OCAML_LDCONF=dummy \
+ install || die
+}
+
+pkg_postinst() {
+ ldconf="/usr/lib/ocaml/ld.conf"
+ echo /usr/lib/ocaml/camlimages >> $ldconf
+}