summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorMatthieu Sozeau <mattam@gentoo.org>2004-08-25 21:05:32 +0000
committerMatthieu Sozeau <mattam@gentoo.org>2004-08-25 21:05:32 +0000
commit49ceae4c8ef42525249e4951c611f2608701229f (patch)
tree715ae3f5c75e3370eab8b0213e876a495ca8aae7 /dev-ml
parentstable on amd64 (diff)
downloadhistorical-49ceae4c8ef42525249e4951c611f2608701229f.tar.gz
historical-49ceae4c8ef42525249e4951c611f2608701229f.tar.bz2
historical-49ceae4c8ef42525249e4951c611f2608701229f.zip
*** empty log message ***
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/ocamlsdl/ChangeLog9
-rw-r--r--dev-ml/ocamlsdl/Manifest4
-rw-r--r--dev-ml/ocamlsdl/files/digest-ocamlsdl-0.7.11
-rw-r--r--dev-ml/ocamlsdl/ocamlsdl-0.6.3.ebuild4
-rw-r--r--dev-ml/ocamlsdl/ocamlsdl-0.7.1.ebuild57
5 files changed, 71 insertions, 4 deletions
diff --git a/dev-ml/ocamlsdl/ChangeLog b/dev-ml/ocamlsdl/ChangeLog
index 003f9796619e..ef2edc877530 100644
--- a/dev-ml/ocamlsdl/ChangeLog
+++ b/dev-ml/ocamlsdl/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-ml/ocamlsdl
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlsdl/ChangeLog,v 1.3 2004/08/16 03:25:04 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlsdl/ChangeLog,v 1.4 2004/08/25 21:05:32 mattam Exp $
+
+*ocamlsdl-0.7.1 (25 Aug 2004)
+
+ 25 Aug 2004; Matthieu Sozeau <mattam@gentoo.org> ocamlsdl-0.6.3.ebuild,
+ +ocamlsdl-0.7.1.ebuild:
+ Version bump, add use flags including doc and use findlib eclass and move
+ older version to stable.
15 Aug 2004; Jason Wever <weeve@gentoo.org> ocamlsdl-0.6.3.ebuild:
Added ~sparc keyword.
diff --git a/dev-ml/ocamlsdl/Manifest b/dev-ml/ocamlsdl/Manifest
index 55fa33b8404b..d83facd8d008 100644
--- a/dev-ml/ocamlsdl/Manifest
+++ b/dev-ml/ocamlsdl/Manifest
@@ -1,4 +1,6 @@
MD5 6ceecefe1fd9ce3ccfb719e6b04ba8fc ChangeLog 498
MD5 8b350f19c06fcabf1053b0421b7c3f5a metadata.xml 155
-MD5 7ce158e954ef1eefb0b1f62961e2d96d ocamlsdl-0.6.3.ebuild 687
+MD5 c897d4d1e3f1161e43d41ed3698bcc01 ocamlsdl-0.6.3.ebuild 752
+MD5 778e39986b3fc2f6de3cb98a30571f77 ocamlsdl-0.7.1.ebuild 687
MD5 21cf2a31ec5ac945f54f9c9df0ff5603 files/digest-ocamlsdl-0.6.3 67
+MD5 dc12fdb347282470f8819d9ef5db7fcf files/digest-ocamlsdl-0.7.1 66
diff --git a/dev-ml/ocamlsdl/files/digest-ocamlsdl-0.7.1 b/dev-ml/ocamlsdl/files/digest-ocamlsdl-0.7.1
new file mode 100644
index 000000000000..4d572b997aba
--- /dev/null
+++ b/dev-ml/ocamlsdl/files/digest-ocamlsdl-0.7.1
@@ -0,0 +1 @@
+MD5 3829b20bd975e3bef5195a54e2cd04cb ocamlsdl-0.7.1.tar.gz 213802
diff --git a/dev-ml/ocamlsdl/ocamlsdl-0.6.3.ebuild b/dev-ml/ocamlsdl/ocamlsdl-0.6.3.ebuild
index 1237256053ab..e95637783028 100644
--- a/dev-ml/ocamlsdl/ocamlsdl-0.6.3.ebuild
+++ b/dev-ml/ocamlsdl/ocamlsdl-0.6.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlsdl/ocamlsdl-0.6.3.ebuild,v 1.3 2004/08/16 03:25:04 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlsdl/ocamlsdl-0.6.3.ebuild,v 1.4 2004/08/25 21:05:32 mattam Exp $
DESCRIPTION="OCaml SDL Bindings"
@@ -9,7 +9,7 @@ SRC_URI="mirror://sourceforge/ocamlsdl/${P}.tar.bz2"
LICENSE="LGPL-2"
SLOT="0"
-KEYWORDS="~x86 ~sparc"
+KEYWORDS="x86 sparc ppc"
IUSE=""
DEPEND=">=dev-lang/ocaml-3.04
diff --git a/dev-ml/ocamlsdl/ocamlsdl-0.7.1.ebuild b/dev-ml/ocamlsdl/ocamlsdl-0.7.1.ebuild
new file mode 100644
index 000000000000..3fe68f7ccf08
--- /dev/null
+++ b/dev-ml/ocamlsdl/ocamlsdl-0.7.1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlsdl/ocamlsdl-0.7.1.ebuild,v 1.1 2004/08/25 21:05:32 mattam Exp $
+
+inherit findlib
+
+DESCRIPTION="OCaml SDL Bindings"
+
+HOMEPAGE="http://ocamlsdl.sourceforge.net"
+SRC_URI="mirror://sourceforge/ocamlsdl/${P}.tar.gz"
+LICENSE="LGPL-2"
+
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+IUSE="doc opengl truetype noimage nomixer"
+
+DEPEND=">=dev-lang/ocaml-3.04
+>=media-libs/libsdl-1.2
+opengl? ( >=dev-ml/lablgl-0.98 )
+!nomixer? ( >=media-libs/sdl-mixer-1.2 )
+!noimage? ( >=media-libs/sdl-image-1.2 )
+truetype? ( >=media-libs/sdl-ttf-2.0 )"
+
+src_compile() {
+ myconf=""
+ if use opengl; then
+ destdir=`ocamlfind printconf destdir`
+ lablgldir=`find ${destdir} -name "lablgl" -or -name "lablGL"`
+ if [ -z "${lablgldir}" ]; then
+ destdir=`ocamlc -where`
+ lablgldir=`find ${destdir} -name "lablgl" -or -name "lablGL"`
+ fi
+
+ if [ ! -z "${lablgldir}" ]; then
+ myconf="--with-lablgldir=${lablgldir}"
+ fi
+ fi
+
+ use noimage && myconf="${myconf} --without-sdl-image"
+ use nomixer && myconf="${myconf} --without-sdl-mixer"
+
+ econf $myconf \
+ `use_enable truetype sdl-ttf` \
+ || die
+ make all || die
+}
+
+src_install() {
+ findlib_src_install
+
+ dodoc AUTHORS NEWS README
+ doinfo doc/*.info*
+
+ if use doc; then
+ dohtml doc/html/*
+ fi
+}