diff options
-rw-r--r-- | dev-lang/hugs98/ChangeLog | 9 | ||||
-rw-r--r-- | dev-lang/hugs98/Manifest | 4 | ||||
-rw-r--r-- | dev-lang/hugs98/files/digest-hugs98-2003.11 | 1 | ||||
-rw-r--r-- | dev-lang/hugs98/hugs98-2003.11.ebuild | 74 |
4 files changed, 85 insertions, 3 deletions
diff --git a/dev-lang/hugs98/ChangeLog b/dev-lang/hugs98/ChangeLog index dbf7713b3ba5..ef349985918c 100644 --- a/dev-lang/hugs98/ChangeLog +++ b/dev-lang/hugs98/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-lang/hugs98 # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/hugs98/ChangeLog,v 1.8 2003/04/24 11:51:48 kosmikus Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/hugs98/ChangeLog,v 1.9 2003/12/01 16:52:55 kosmikus Exp $ + +*hugs98-2003.11 (01 Dec 2003) + + 01 Dec 2003; Andres Loeh <kosmikus@gentoo.org> hugs98-2003.11.ebuild: + Version bump. Based on new ebuild submitted by Peter Simons + <simons+gentoo@cryp.to> (bug #34404), including additional information + provided by Ralf Hinze <ralf@informatik.uni-bonn.de>. *hugs98-2002.11-r1 (23 Apr 2003) diff --git a/dev-lang/hugs98/Manifest b/dev-lang/hugs98/Manifest index b2e613a601ed..a90f0ea93e18 100644 --- a/dev-lang/hugs98/Manifest +++ b/dev-lang/hugs98/Manifest @@ -1,8 +1,8 @@ MD5 e58b5e986047b3940e5e6decead9dd16 hugs98-2002.11-r1.ebuild 1138 MD5 ecb3014b175bf445ae635af0cee2d81d hugs98-2000.12-r1.ebuild 1064 -MD5 ccb0e37eae83f1e14aaf37da684d113a hugs98-2003.11.ebuild 1826 +MD5 34e77e0bcf0b1567a65acc0c27d7448a hugs98-2003.11.ebuild 1855 MD5 24ac92330ff2564781ce5ca254078836 hugs98-2002.11.ebuild 1150 -MD5 7b7030334b3b20888afdda6baefd4e4d ChangeLog 2630 +MD5 57b909f563f1f2cde04f6eb746a2c05c ChangeLog 2925 MD5 a769ecfcd1cdd2d40986627df7dfb249 metadata.xml 224 MD5 d9342d57b4d22a12a7d09b7615dfe3c3 files/digest-hugs98-2000.12-r1 66 MD5 e34344bfc901d89daf1e5350ec13926d files/digest-hugs98-2002.11 67 diff --git a/dev-lang/hugs98/files/digest-hugs98-2003.11 b/dev-lang/hugs98/files/digest-hugs98-2003.11 new file mode 100644 index 000000000000..b865e9f1fc26 --- /dev/null +++ b/dev-lang/hugs98/files/digest-hugs98-2003.11 @@ -0,0 +1 @@ +MD5 86ed68ada4ff1d455213a851256437fc hugs98-Nov2003.tar.gz 1919935 diff --git a/dev-lang/hugs98/hugs98-2003.11.ebuild b/dev-lang/hugs98/hugs98-2003.11.ebuild new file mode 100644 index 000000000000..b2a360a941d3 --- /dev/null +++ b/dev-lang/hugs98/hugs98-2003.11.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/hugs98/hugs98-2003.11.ebuild,v 1.1 2003/12/01 16:52:55 kosmikus Exp $ + +IUSE="opengl" + +MY_P="hugs98-Nov2003" +S=${WORKDIR}/${MY_P} +DESCRIPTION="The HUGS98 Haskell interpreter" +SRC_URI="http://cvs.haskell.org/Hugs/downloads/Nov2003/${MY_P}.tar.gz" +HOMEPAGE="http://www.haskell.org/hugs/" + +SLOT="0" +KEYWORDS="~x86 ~sparc" +LICENSE="as-is" + +DEPEND="virtual/glibc + opengl? ( virtual/opengl virtual/glu virtual/glut ) + =app-text/docbook-sgml-dtd-4.2" + +src_compile() { + local myconf + if [ `use opengl` ]; then + myconf="--enable-hopengl" + fi + + # When timing is enabled, the build will fail at some + # point with: + # + # | gcc runhugs.o server.o [...]-o runhugs + # | evaluator.o(.text+0x1b7): In function `evaluator': + # | : undefined reference to `updateTimers' + # | collect2: ld returned 1 exit status + # + # Somebody *cough* should look into this. + + myconf="$myconf --disable-timer" + + # When using econf here, configure will spout warnings + # about how you need to give "--host --target --build", + # and sometimes it will refuse to run at all. + + cd ${S}/src/unix || die + ./configure \ + --host=${CHOST} \ + --target=${CHOST} \ + --build=${CHOST} \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + --enable-ffi \ + --with-pthreads \ + --enable-profiling \ + ${myconf} || die "./configure failed" + cd .. + emake || die +} + +src_install () { + cd ${S}/src || die + make \ + HUGSDIR=${D}/usr/lib/hugs \ + prefix=${D}/usr \ + mandir=${D}/usr/share/man \ + infodir=${D}/usr/share/info \ + install || die + + #somewhat clean-up installation of few docs + cd ${S} + dodoc Credits License Readme + cd ${D}/usr/lib/hugs + rm Credits License Readme + mv demos/ docs/ ${D}/usr/share/doc/${PF} +} |