From 20e1e68b00b8a22f9ed90d11d0c6fcf4f7e7a17a Mon Sep 17 00:00:00 2001
From: Matthieu Sozeau <mattam@gentoo.org>
Date: Sun, 8 Aug 2004 08:38:22 +0000
Subject: version bump.

---
 dev-ml/findlib/ChangeLog                  | 11 +++++--
 dev-ml/findlib/Manifest                   |  4 ++-
 dev-ml/findlib/files/digest-findlib-1.0.4 |  1 +
 dev-ml/findlib/findlib-1.0.4.ebuild       | 48 +++++++++++++++++++++++++++++++
 4 files changed, 61 insertions(+), 3 deletions(-)
 create mode 100644 dev-ml/findlib/files/digest-findlib-1.0.4
 create mode 100644 dev-ml/findlib/findlib-1.0.4.ebuild

(limited to 'dev-ml/findlib')

diff --git a/dev-ml/findlib/ChangeLog b/dev-ml/findlib/ChangeLog
index 0eab07e52ec5..79fb6d3f4582 100644
--- a/dev-ml/findlib/ChangeLog
+++ b/dev-ml/findlib/ChangeLog
@@ -1,6 +1,12 @@
 # ChangeLog for dev-ml/findlib
 # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/findlib/ChangeLog,v 1.9 2004/06/25 00:01:32 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/findlib/ChangeLog,v 1.10 2004/08/08 08:38:22 mattam Exp $
+
+*findlib-1.0.4 (08 Aug 2004)
+
+  08 Aug 2004; Matthieu Sozeau <mattam@gentoo.org> +findlib-1.0.4.ebuild:
+  Version bump, fix bug #51254. Thanks to Bardur Arantsson <gentoo@scientician.net>
+  for the update.
 
   28 May 2004; Danny van Dyk <kugelfang@gentoo.org> findlib-0.8.ebuild:
   Marked -amd64 as dependencies aren't fulfilled anymore.
@@ -19,7 +25,8 @@
 
 *findlib-0.8 (15 Dec 2002)
 
-  15 Dec 2002; George Shapovalov <george@gentoo.org> ChangeLog, findlib-0.8.ebuild, files/digest-findlib-0.8 :
+  15 Dec 2002; George Shapovalov <george@gentoo.org> ChangeLog, 
+  findlib-0.8.ebuild, files/digest-findlib-0.8 :
   initial release
   OCaml tool to find/use non-standard packages.
   ebuild submitted by Matthieu Sozeau <mattam@netcourrier.com>
diff --git a/dev-ml/findlib/Manifest b/dev-ml/findlib/Manifest
index e13d1a05a6fd..f587e81d2ebb 100644
--- a/dev-ml/findlib/Manifest
+++ b/dev-ml/findlib/Manifest
@@ -1,4 +1,6 @@
+MD5 8c968dbb16afff97a2cc90db32926cfa ChangeLog 1270
 MD5 5fa8d041e432db07defddfd1bdd83e2a findlib-0.8.ebuild 863
-MD5 55259ac3050c07a4903c57a13c6cffe9 ChangeLog 1061
 MD5 845dbbef4eb685e1bfd5f9e13a03f2b8 metadata.xml 225
+MD5 cd293136b5de1e2bd113915341382255 findlib-1.0.4.ebuild 1221
 MD5 71c0cb8388ce98236cf5c6f38d6703c1 files/digest-findlib-0.8 63
+MD5 0f67e24c7ecc9bad9281ccdf7e20f49f files/digest-findlib-1.0.4 65
diff --git a/dev-ml/findlib/files/digest-findlib-1.0.4 b/dev-ml/findlib/files/digest-findlib-1.0.4
new file mode 100644
index 000000000000..4c253ad28aab
--- /dev/null
+++ b/dev-ml/findlib/files/digest-findlib-1.0.4
@@ -0,0 +1 @@
+MD5 dbfabe1b3677a03bcf238ecccb36d84f findlib-1.0.4.tar.gz 148287
diff --git a/dev-ml/findlib/findlib-1.0.4.ebuild b/dev-ml/findlib/findlib-1.0.4.ebuild
new file mode 100644
index 000000000000..b1c12adb9210
--- /dev/null
+++ b/dev-ml/findlib/findlib-1.0.4.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/findlib/findlib-1.0.4.ebuild,v 1.1 2004/08/08 08:38:22 mattam Exp $
+
+IUSE="tcltk"
+
+DESCRIPTION="OCaml tool to find/use non-standard packages."
+HOMEPAGE="http://www.ocaml-programming.de/packages/"
+SRC_URI="http://www.ocaml-programming.de/packages/${P}.tar.gz"
+
+LICENSE="MIT X11"
+
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc"
+
+DEPEND=">=dev-lang/ocaml-3.07"
+
+pkg_setup()
+{
+	if ( use tcltk && which ocaml && ! which labltk ); then
+		eerror "It seems you don't have ocaml compiled with tk support"
+		eerror ""
+		eerror "The findlib toolbox requires ocaml be built with tk support."
+		eerror ""
+		eerror "Please make sure that ocaml is installed with tk support or remove the USE flag"
+
+		false;
+	fi
+}
+
+src_compile() {
+	./configure
+
+	./configure -bindir /usr/bin -mandir /usr/share/man \
+		-sitelib /usr/lib/ocaml/site-packages/ \
+		-config /usr/lib/ocaml/site-packages/findlib/findlib.conf || die "configure failed"
+
+	make all || die
+	make opt || die # optimized code
+}
+
+src_install() {
+	make prefix=${D} install || die
+
+	cd ${S}/doc
+	dodoc QUICKSTART README
+	dohtml html/*
+}
-- 
cgit v1.2.3-65-gdbad