diff options
author | Duncan Coutts <dcoutts@gentoo.org> | 2007-12-13 17:30:12 +0000 |
---|---|---|
committer | Duncan Coutts <dcoutts@gentoo.org> | 2007-12-13 17:30:12 +0000 |
commit | 5202731a95bb3391e7b26ce4a954871bf285d750 (patch) | |
tree | a3bd7b5c05981965132e5151ba8a98a7e7678cc1 /dev-haskell/hslogger/hslogger-1.0.2.ebuild | |
parent | remove old versions (diff) | |
download | historical-5202731a95bb3391e7b26ce4a954871bf285d750.tar.gz historical-5202731a95bb3391e7b26ce4a954871bf285d750.tar.bz2 historical-5202731a95bb3391e7b26ce4a954871bf285d750.zip |
New version.
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'dev-haskell/hslogger/hslogger-1.0.2.ebuild')
-rw-r--r-- | dev-haskell/hslogger/hslogger-1.0.2.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/dev-haskell/hslogger/hslogger-1.0.2.ebuild b/dev-haskell/hslogger/hslogger-1.0.2.ebuild new file mode 100644 index 000000000000..42cb22386383 --- /dev/null +++ b/dev-haskell/hslogger/hslogger-1.0.2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hslogger/hslogger-1.0.2.ebuild,v 1.1 2007/12/13 17:22:18 dcoutts Exp $ + +CABAL_FEATURES="profile haddock lib" +inherit haskell-cabal versionator + +DESCRIPTION="Versatile logging framework" +HOMEPAGE="http://software.complete.org/hslogger" +SRC_URI="http://hackage.haskell.org/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=dev-lang/ghc-6.4.2 + dev-haskell/network + dev-haskell/mtl" + +src_unpack() { + unpack "${A}" + cabal-mksetup + sed -i -e "s/mtl/mtl, unix/" \ + "${S}/hslogger.cabal" + + if version_is_at_least "6.8" "$(ghc-version)"; then + sed -i -e '/Build-Depends:/a \ + , containers' \ + "${S}/hslogger.cabal" + sed -i -e '1i{-# LANGUAGE PatternSignatures #-}' \ + "${S}/src/System/Log/Logger.hs" + fi +} |