diff options
author | Andres Loeh <kosmikus@gentoo.org> | 2004-11-18 16:08:31 +0000 |
---|---|---|
committer | Andres Loeh <kosmikus@gentoo.org> | 2004-11-18 16:08:31 +0000 |
commit | 8d1e219a8f90db398f4931d56d4ce1e5e5889cc1 (patch) | |
tree | 4dbc01d54662b458b0196489341c44d7371b0c48 /dev-haskell | |
parent | Added new beta version. (Manifest recommit) (diff) | |
download | gentoo-2-8d1e219a8f90db398f4931d56d4ce1e5e5889cc1.tar.gz gentoo-2-8d1e219a8f90db398f4931d56d4ce1e5e5889cc1.tar.bz2 gentoo-2-8d1e219a8f90db398f4931d56d4ce1e5e5889cc1.zip |
Updated ebuild to make use of ghc-package eclass (bug #69270).
Diffstat (limited to 'dev-haskell')
-rw-r--r-- | dev-haskell/WASH/ChangeLog | 7 | ||||
-rw-r--r-- | dev-haskell/WASH/Manifest | 2 | ||||
-rw-r--r-- | dev-haskell/WASH/WASH-2.0.5-r1.ebuild | 51 | ||||
-rw-r--r-- | dev-haskell/WASH/files/digest-WASH-2.0.5-r1 | 1 |
4 files changed, 60 insertions, 1 deletions
diff --git a/dev-haskell/WASH/ChangeLog b/dev-haskell/WASH/ChangeLog index 07c5c406e5be..d3f5be116458 100644 --- a/dev-haskell/WASH/ChangeLog +++ b/dev-haskell/WASH/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-haskell/WASH # Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/WASH/ChangeLog,v 1.1 2004/10/26 17:47:26 kosmikus Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/WASH/ChangeLog,v 1.2 2004/11/18 16:08:31 kosmikus Exp $ + +*WASH-2.0.5-r1 (18 Nov 2004) + + 18 Nov 2004; Andres Loeh <kosmikus@gentoo.org> +WASH-2.0.5-r1.ebuild: + Updated ebuild to make use of ghc-package eclass (bug #69270). *WASH-2.0.5 (26 Oct 2004) diff --git a/dev-haskell/WASH/Manifest b/dev-haskell/WASH/Manifest index 7f79f6d16e73..fe9bb454cd0e 100644 --- a/dev-haskell/WASH/Manifest +++ b/dev-haskell/WASH/Manifest @@ -1,4 +1,6 @@ +MD5 466e29ac2a4b6d7529c788fc70e3f5d6 WASH-2.0.5-r1.ebuild 1344 MD5 146a7a47e9e36a6007e352025f69ac86 WASH-2.0.5.ebuild 2730 MD5 1b9b9a531f5d6950ccbfc89e9a076ca4 ChangeLog 365 MD5 a769ecfcd1cdd2d40986627df7dfb249 metadata.xml 224 +MD5 17b177468da822de7bb9ba89a644b9ce files/digest-WASH-2.0.5-r1 62 MD5 17b177468da822de7bb9ba89a644b9ce files/digest-WASH-2.0.5 62 diff --git a/dev-haskell/WASH/WASH-2.0.5-r1.ebuild b/dev-haskell/WASH/WASH-2.0.5-r1.ebuild new file mode 100644 index 000000000000..c8c0096e4ade --- /dev/null +++ b/dev-haskell/WASH/WASH-2.0.5-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/WASH/WASH-2.0.5-r1.ebuild,v 1.1 2004/11/18 16:08:31 kosmikus Exp $ + +inherit ghc-package + +# the installation bundle is called WashNGo +MY_P="WashNGo" +MY_PV=${MY_P}-${PV} + +DESCRIPTION="WASH is a family of embedded domain-specific languages for programming Web applications" +HOMEPAGE="http://www.informatik.uni-freiburg.de/~thiemann/haskell/WASH/" +SRC_URI="http://www.informatik.uni-freiburg.de/~thiemann/haskell/WASH/${MY_PV}.tgz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~x86" +IUSE="doc postgres" + +DEPEND=">=virtual/ghc-6.2 + postgres? ( dev-haskell/c2hs + >=dev-db/postgresql-7.4.3 )" + +S=${WORKDIR}/${MY_PV} + +src_compile() { + local myopts + myopts="${myopts} `use_enable postgres dbconnect`" + myopts="${myopts} `use_enable doc build-docs`" + ./configure \ + --prefix="${D}usr" \ + --host=${CHOST} \ + --libdir=${D}/$(ghc-libdir) \ + ${myopts} \ + --enable-register-package="${S}/$(ghc-localpkgconf)" \ + || die "configure failed" + make depend || die "make depend failed" + make all || die "make all failed" +} + +src_install() { + ghc-setup-pkg + make install || die "make install failed" + ghc-install-pkg + dodoc README + if use doc; then + cp -r Examples ${D}/usr/share/doc/${PF} + cd doc + dohtml -r * + fi +} diff --git a/dev-haskell/WASH/files/digest-WASH-2.0.5-r1 b/dev-haskell/WASH/files/digest-WASH-2.0.5-r1 new file mode 100644 index 000000000000..479a2fa3a9d9 --- /dev/null +++ b/dev-haskell/WASH/files/digest-WASH-2.0.5-r1 @@ -0,0 +1 @@ +MD5 c438ae77c564310188700a962d922fec WashNGo-2.0.5.tgz 424676 |