summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-haskell')
-rw-r--r--dev-haskell/dbus-core/ChangeLog11
-rw-r--r--dev-haskell/dbus-core/Manifest3
-rw-r--r--dev-haskell/dbus-core/dbus-core-0.9.2.1.ebuild54
-rw-r--r--dev-haskell/dbus-core/metadata.xml11
4 files changed, 79 insertions, 0 deletions
diff --git a/dev-haskell/dbus-core/ChangeLog b/dev-haskell/dbus-core/ChangeLog
new file mode 100644
index 000000000000..501018ed9895
--- /dev/null
+++ b/dev-haskell/dbus-core/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-haskell/dbus-core
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/dbus-core/ChangeLog,v 1.1 2012/01/12 17:10:56 slyfox Exp $
+
+*dbus-core-0.9.2.1 (12 Jan 2012)
+
+ 12 Jan 2012; Sergei Trofimovich <slyfox@gentoo.org> +dbus-core-0.9.2.1.ebuild,
+ +metadata.xml:
+ Initial import. Haskell library. Low-level D-Bus protocol implementation.
+ Depend for dev-util/bustle-0.3.1.
+
diff --git a/dev-haskell/dbus-core/Manifest b/dev-haskell/dbus-core/Manifest
new file mode 100644
index 000000000000..37eb6f6b9340
--- /dev/null
+++ b/dev-haskell/dbus-core/Manifest
@@ -0,0 +1,3 @@
+DIST dbus-core-0.9.2.1.tar.gz 216825 RMD160 5a1240cb8e0e5f8d43981b6df2558cc59a1c1eee SHA1 af8c29b64638f3300abf2543bcade9ea01718860 SHA256 fd286723fc7b906eb7ff2daa581cd33c06c31cd2fb808f6707a43da2319fdbbc
+EBUILD dbus-core-0.9.2.1.ebuild 1703 RMD160 d636b5e81aabb10bc13be754450c711b366dead0 SHA1 e5c530e0ec2be4c30d43b8fae361f1ad37e152cf SHA256 4a31b0bf7580ff7353a2b5203f30432099a4059f6940583d0220ab67795a8759
+MISC metadata.xml 307 RMD160 a585fb494b91e97f9f7d6cb682593221752c42d1 SHA1 a899b2323974d88070f92d59de52fa19496f8793 SHA256 ca266b4bb861bbb13b6f624a9df784c04a6855d8bfea74da817a25f9bf13a538
diff --git a/dev-haskell/dbus-core/dbus-core-0.9.2.1.ebuild b/dev-haskell/dbus-core/dbus-core-0.9.2.1.ebuild
new file mode 100644
index 000000000000..9d7540eb13aa
--- /dev/null
+++ b/dev-haskell/dbus-core/dbus-core-0.9.2.1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/dbus-core/dbus-core-0.9.2.1.ebuild,v 1.1 2012/01/12 17:10:56 slyfox Exp $
+
+# ebuild generated by hackport 0.2.13
+
+EAPI="3"
+
+CABAL_FEATURES="lib profile haddock hscolour hoogle"
+inherit haskell-cabal
+
+DESCRIPTION="Low-level D-Bus protocol implementation"
+HOMEPAGE="https://john-millikin.com/software/dbus-core/"
+SRC_URI="http://hackage.haskell.org/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-haskell/binary-0.4
+ <dev-haskell/binary-0.6
+ >=dev-haskell/data-binary-ieee754-0.3
+ <dev-haskell/data-binary-ieee754-0.5
+ =dev-haskell/libxml-sax-0.7*
+ >=dev-haskell/network-2.2
+ <dev-haskell/network-2.4
+ >=dev-haskell/parsec-2.0
+ <dev-haskell/parsec-3.2
+ >=dev-haskell/text-0.11.1.5
+ <dev-haskell/text-0.12
+ >=dev-haskell/vector-0.7
+ <dev-haskell/vector-0.10
+ =dev-haskell/xml-types-0.3*
+ >=dev-lang/ghc-6.10.1"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6"
+
+src_prepare() {
+ if has_version "<dev-haskell/haddock-2.9.2"; then
+ # Workaround http://hackage.haskell.org/trac/hackage/ticket/626
+ # The haddock --hoogle option does not like unicode characters, which causes
+ # haddock 2.7.2 to fail like:
+ # haddock: internal Haddock or GHC error: dist/doc/html/enumerator/enumerator.txt: commitAndReleaseBuffer: invalid argument (Invalid or incomplete multibyte or wide character)
+ sed -e 's@&#8208;@-@g' \
+ -e "s@&#8217;@'@g" \
+ -i "${S}/hs/DBus/Connection.hs" \
+ -i "${S}/hs/DBus/Client/Internal.hs" \
+ -i "${S}/hs/DBus/Client/Simple.hs" \
+ -i "${S}/hs/DBus/Message/Internal.hs" \
+ -i "${S}/hs/DBus/Types/Internal.hs" \
+ -i "${S}/hs/DBus/Wire/Internal.hs"
+ fi
+}
diff --git a/dev-haskell/dbus-core/metadata.xml b/dev-haskell/dbus-core/metadata.xml
new file mode 100644
index 000000000000..2e455ccc7a1e
--- /dev/null
+++ b/dev-haskell/dbus-core/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>haskell</herd>
+ <maintainer>
+ <email>haskell@gentoo.org</email>
+ </maintainer>
+ <longdescription>
+ Low-level D-Bus protocol implementation
+ </longdescription>
+</pkgmetadata>