summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2011-05-09 13:42:27 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2011-05-09 13:42:27 +0000
commit65614f5e09602c6bcc315415e4be3f2500fa5ef5 (patch)
tree63a18fea2b5cc4622490bdba8bbf6d56fe93c9f4 /dev-haskell
parentVersion bump. (diff)
downloadgentoo-2-65614f5e09602c6bcc315415e4be3f2500fa5ef5.tar.gz
gentoo-2-65614f5e09602c6bcc315415e4be3f2500fa5ef5.tar.bz2
gentoo-2-65614f5e09602c6bcc315415e4be3f2500fa5ef5.zip
Initial version. Haskell bindings for x11-libs/cairo.
(Portage version: 2.1.9.42/cvs/Linux x86_64)
Diffstat (limited to 'dev-haskell')
-rw-r--r--dev-haskell/cairo/ChangeLog10
-rw-r--r--dev-haskell/cairo/cairo-0.12.0.ebuild34
-rw-r--r--dev-haskell/cairo/metadata.xml8
3 files changed, 52 insertions, 0 deletions
diff --git a/dev-haskell/cairo/ChangeLog b/dev-haskell/cairo/ChangeLog
new file mode 100644
index 000000000000..b40b8a3742f1
--- /dev/null
+++ b/dev-haskell/cairo/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-haskell/cairo
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cairo/ChangeLog,v 1.1 2011/05/09 13:42:27 slyfox Exp $
+
+*cairo-0.12.0 (09 May 2011)
+
+ 09 May 2011; Sergei Trofimovich <slyfox@gentoo.org> +cairo-0.12.0.ebuild,
+ +metadata.xml:
+ Initial version. Haskell bindings for x11-libs/cairo.
+
diff --git a/dev-haskell/cairo/cairo-0.12.0.ebuild b/dev-haskell/cairo/cairo-0.12.0.ebuild
new file mode 100644
index 000000000000..00e156859f0a
--- /dev/null
+++ b/dev-haskell/cairo/cairo-0.12.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cairo/cairo-0.12.0.ebuild,v 1.1 2011/05/09 13:42:27 slyfox Exp $
+
+# ebuild generated by hackport 0.2.13
+
+EAPI="3"
+
+#nocabaldep is for the fancy cabal-detection feature at build-time
+CABAL_FEATURES="lib profile haddock hscolour nocabaldep"
+inherit haskell-cabal
+
+DESCRIPTION="Haskell bindings to the x11-libs/cairo library."
+HOMEPAGE="http://www.haskell.org/gtk2hs/"
+SRC_URI="http://hackage.haskell.org/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+svg"
+
+RDEPEND="dev-haskell/mtl
+ >=dev-lang/ghc-6.10.1
+ x11-libs/cairo[svg?]"
+DEPEND="${RDEPEND}
+ dev-haskell/gtk2hs-buildtools"
+
+src_configure() {
+ # x11-libs/cairo seems to build pdf and ps by default
+ cabal_src_configure \
+ --flags=cairo_pdf \
+ --flags=cairo_ps \
+ $(cabal_flag svg cairo_svg)
+}
diff --git a/dev-haskell/cairo/metadata.xml b/dev-haskell/cairo/metadata.xml
new file mode 100644
index 000000000000..2f5607ea9893
--- /dev/null
+++ b/dev-haskell/cairo/metadata.xml
@@ -0,0 +1,8 @@
+<?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>
+</pkgmetadata>