Portage is a package management system used by Gentoo Linux
# ChangeLog for dev-haskell/wash
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/wash/ChangeLog,v 1.14 2008/01/26 20:17:16 dcoutts Exp $
26 Jan 2008; Duncan Coutts
-files/wash-2.5.6-ghc66.patch, -wash-2.0.6.ebuild, -wash-2.3.1.ebuild,
-wash-2.5.6.ebuild:
Remove old versions, fixing bug #207436.
*wash-2.12 (13 Dec 2007)
13 Dec 2007; Duncan Coutts
wash-2.3.1.ebuild, wash-2.5.6.ebuild, +wash-2.12.ebuild:
New version. Fix quoting issues in older ebuilds.
31 Oct 2007; Duncan Coutts
wash-2.3.1.ebuild, wash-2.5.6.ebuild:
Drop virtual/ghc in favour of dev-lang/ghc
21 Feb 2007; Piotr JaroszyĆski
Transition to Manifest2.
17 Oct 2006; Duncan Coutts
Wash's configure prog doesnt like ghc being specified with an absolute path
13 Oct 2006;
wash-2.5.6.ebuild:
Cleanup and GHC 6.6 compatibility
10 Mar 2006; Duncan Coutts
Depend on postresql client libs rather than the server.
Add ~sparc to KEYWORDS. See bug #124902
*wash-2.5.6 (22 Feb 2006)
22 Feb 2006;
New upstream version. Add postgres USE flag.
Also try to limit memory use during build.
Fix the build system's erroneous deps, linker flags and use of c2hs.
25 Mar 2005; Andres Loeh
wash-2.3.1.ebuild:
WASH does currently not compile with ghc-6.4, and is thus blocked by this
compiler version.
*wash-2.3.1 (24 Mar 2005)
24 Mar 2005; Luis F. Araujo
+wash-2.3.1.ebuild:
Added new WASH release
*wash-2.0.6 (10 Mar 2005)
10 Mar 2005; Luis F. Araujo
-wash-2.0.5-r1.ebuild, -wash-2.0.5.ebuild, +wash-2.0.6.ebuild:
New WASH release added
*WASH-2.0.5-r1 (18 Nov 2004)
18 Nov 2004; Andres Loeh
Updated ebuild to make use of ghc-package eclass (bug #69270).
*WASH-2.0.5 (26 Oct 2004)
26 Oct 2004; Andres Loeh
metadata.xml:
Initial import, as requested in bug #56997.
DIST WashNGo-2.12.tgz 337362 RMD160 53f0221345ae1de502991f17159cf8ecda84a9f3 SHA1 0a12cfdc6cda2bbb0507ab06aae2864ed6a210ca SHA256 3f3f9724cbab24cbc45816be12c503064020cc9ffd585069eb835e290c10ccb7
EBUILD wash-2.12.ebuild 1698 RMD160 e991fd43fcdde6bcba0e5e80bc1e6c73009511ef SHA1 aec4475689937f8aab94d9c3cf3f42434305befe SHA256 d5667cfcfce2d2cd52fce1a5188f7b5a0c443987cd53b2035aa494ecc9d6a9ec
MISC ChangeLog 2362 RMD160 6906b6854d816589be44be78fec44f79a93b7d17 SHA1 cd310aca688d74574938cd2a16ec06b912695b94 SHA256 6467d0277a88ecb29f0f02c8be87a5f16f975b62b227cf16dfe4d051ca1704b0
MISC metadata.xml 285 RMD160 15988fa26c91d66e822368f192c0ab541dbf1853 SHA1 e2ab5e4901e7d4fd8ad32143b781d8942b4c3dd4 SHA256 7a662b130d6c54436af26de89f516ebb376b381a03cccd2b4e339b86f0d16f7c
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/wash/wash-2.12.ebuild,v 1.1 2007/12/13 17:33:09 dcoutts Exp $
CABAL_FEATURES="profile haddock lib bin"
inherit haskell-cabal check-reqs
MY_PN="WashNGo"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="WASH is a family of embedded domain specific languages for programming Web applications in Haskell."
HOMEPAGE="http://www.informatik.uni-freiburg.de/~thiemann/haskell/WASH/"
SRC_URI="http://www.informatik.uni-freiburg.de/~thiemann/haskell/WASH/${MY_P}.tgz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~sparc"
IUSE=""
DEPEND=">=dev-lang/ghc-6.6
dev-haskell/regex-compat"
S="${WORKDIR}/${MY_P}"
pkg_setup() {
# There are a couple Wash modules which take forever to compile and
# cause ghc take loads of memory. We try and limit ghc's heap size
# but it still takes a lot.
einfo "Some Wash modules take a lot of RAM and a very long time to compile."
einfo "Please be patient."
# We need aproximately this much memory: (does *not* check swap)
case "${ARCH}" in
alpha|*64) CHECKREQS_MEMORY="600" ;;
*) CHECKREQS_MEMORY="300" ;;
esac
check_reqs
}
src_unpack() {
unpack "${A}"
cabal-mksetup
sed -i -e "/Extensions/aGhc-Options: -O +RTS -M${CHECKREQS_MEMORY}m -RTS" \
"${S}/WASH.cabal"
echo "Ghc-Options: -O +RTS -M${CHECKREQS_MEMORY}m -RTS" \
>> "${S}/WASH.cabal"
# Add in the extra split-base deps
if version_is_at_least "6.8" "$(ghc-version)"; then
sed -i -e '/Build-Depends:/a \
,containers' \
"${S}/WASH.cabal"
fi
}
src_install() {
cabal_src_install
dodoc README
if use doc; then
dodoc Examples
fi
}