diff options
author | Andres Loeh <kosmikus@gentoo.org> | 2003-04-24 11:51:48 +0000 |
---|---|---|
committer | Andres Loeh <kosmikus@gentoo.org> | 2003-04-24 11:51:48 +0000 |
commit | aa5341491371cc9440fd328b2158eb7c1347da21 (patch) | |
tree | ef2ad6e8ecde6d2770f64d4902164e8f623271b8 /dev-lang/hugs98/hugs98-2002.11-r1.ebuild | |
parent | version bump (diff) | |
download | gentoo-2-aa5341491371cc9440fd328b2158eb7c1347da21.tar.gz gentoo-2-aa5341491371cc9440fd328b2158eb7c1347da21.tar.bz2 gentoo-2-aa5341491371cc9440fd328b2158eb7c1347da21.zip |
fixed a bug in the hugs98 ebuild; some libraries were not installed correctly
Diffstat (limited to 'dev-lang/hugs98/hugs98-2002.11-r1.ebuild')
-rw-r--r-- | dev-lang/hugs98/hugs98-2002.11-r1.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/dev-lang/hugs98/hugs98-2002.11-r1.ebuild b/dev-lang/hugs98/hugs98-2002.11-r1.ebuild new file mode 100644 index 000000000000..e11c813b2d4e --- /dev/null +++ b/dev-lang/hugs98/hugs98-2002.11-r1.ebuild @@ -0,0 +1,50 @@ +# 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-2002.11-r1.ebuild,v 1.1 2003/04/24 11:51:48 kosmikus Exp $ + +IUSE="" + +MY_P="hugs98-Nov2002" +S=${WORKDIR}/${MY_P} +DESCRIPTION="The HUGS98 Haskell interpreter" +SRC_URI="http://cvs.haskell.org/Hugs/downloads/Nov2002/${MY_P}.tar.gz" +HOMEPAGE="http://www.haskell.org/hugs" + +SLOT="0" +KEYWORDS="x86 ~sparc" +LICENSE="as-is" + +DEPEND="virtual/glibc" + +src_compile() { + local myc + + cd ${S}/src/unix || die + ./configure \ + --host=${CHOST} \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + --enable-ffi \ + --enable-double-precision \ + ${myc} || 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} +} |