From be856e9b3ea7090df0cbca74b7118bebc4e39a80 Mon Sep 17 00:00:00 2001 From: Andres Loeh <kosmikus@gentoo.org> Date: Mon, 28 Jul 2003 14:21:48 +0000 Subject: new package --- dev-haskell/hugs98-graphics/Manifest | 3 +- .../files/digest-hugs98-graphics-2.0.4 | 1 + .../hugs98-graphics/hugs98-graphics-2.0.4.ebuild | 35 ++++++++++++++++++++++ 3 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 dev-haskell/hugs98-graphics/files/digest-hugs98-graphics-2.0.4 create mode 100644 dev-haskell/hugs98-graphics/hugs98-graphics-2.0.4.ebuild diff --git a/dev-haskell/hugs98-graphics/Manifest b/dev-haskell/hugs98-graphics/Manifest index 996384462141..880f74633c17 100644 --- a/dev-haskell/hugs98-graphics/Manifest +++ b/dev-haskell/hugs98-graphics/Manifest @@ -1,2 +1,3 @@ -MD5 0944bf3bc698abae3395eaaf601ed4ab hugs98-graphics-2.0.4.ebuild 913 +MD5 c7d886ea31622134ff1661bea2deac0c hugs98-graphics-2.0.4.ebuild 1072 +MD5 91149bbf559181644d34233e31df664e ChangeLog 446 MD5 ae927af5a1aa8d4c1265a48e19dee697 files/digest-hugs98-graphics-2.0.4 70 diff --git a/dev-haskell/hugs98-graphics/files/digest-hugs98-graphics-2.0.4 b/dev-haskell/hugs98-graphics/files/digest-hugs98-graphics-2.0.4 new file mode 100644 index 000000000000..6825154b5d43 --- /dev/null +++ b/dev-haskell/hugs98-graphics/files/digest-hugs98-graphics-2.0.4 @@ -0,0 +1 @@ +MD5 60da7bc8f3a2414778fe1e693ba54ab4 graphics-2.0.4.src.tar.gz 170252 diff --git a/dev-haskell/hugs98-graphics/hugs98-graphics-2.0.4.ebuild b/dev-haskell/hugs98-graphics/hugs98-graphics-2.0.4.ebuild new file mode 100644 index 000000000000..5e70fd704ded --- /dev/null +++ b/dev-haskell/hugs98-graphics/hugs98-graphics-2.0.4.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hugs98-graphics/hugs98-graphics-2.0.4.ebuild,v 1.1 2003/07/28 14:21:34 kosmikus Exp $ + +DESCRIPTION="Haskell Graphics Library for X" +HOMEPAGE="http://cvs.haskell.org/Hugs/pages/downloading.htm" +SRC_URI="http://cvs.haskell.org/Hugs/downloads/graphics-${PV}.src.tar.gz" +LICENSE="as-is" +SLOT="0" +KEYWORDS="~x86" +IUSE="" +DEPEND="virtual/glibc + dev-lang/hugs98 + virtual/x11" +S=${WORKDIR}/graphics-${PV} +# where Hugs is installed +HUGSDIR="/usr/lib/hugs" +# where Hugs libraries get installed +HUGSLIBDIR="${D}${HUGSDIR}/lib" + +src_compile() { + # the package does not use configure + make -C lib/x11 hugs_install=${HUGSDIR} +} + +src_install() { + dodoc Install License Readme Version Version-2.0.4 + # don't gzip dvi file + install -m0644 doc/Graphics.dvi "${D}usr/share/doc/${PF}" + # don't gzip demo file + install -m0644 demos/HelloWorld.hs "${D}usr/share/doc/${PF}" + + mkdir -p ${HUGSLIBDIR} + cp -R lib/x11/* ${HUGSLIBDIR} +} -- cgit v1.2.3-65-gdbad