summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-haskell/cairo/Manifest1
-rw-r--r--dev-haskell/cairo/cairo-0.13.3.1.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-haskell/cairo/Manifest b/dev-haskell/cairo/Manifest
index 24a215a2b263..a7600f1b2ad4 100644
--- a/dev-haskell/cairo/Manifest
+++ b/dev-haskell/cairo/Manifest
@@ -1,2 +1,3 @@
DIST cairo-0.12.5.3.tar.gz 53447 SHA256 e7edb538745a6f0aa1c0c1574b6549a799240912f9c5047c3d8ca1ffdbb1bcbc SHA512 1dca628c4052df667130590d963f3b26e1c7df958654dbc18cb76cc471ee60b19fa3fc65a3b9042990943cc95a4af05d8993d853e859f03e457a8a6963113433 WHIRLPOOL 94b422d97cf013e5b6845494feef53e3489d1dc063e5e89571ef2a1d94e14cf8d929afd5ff8c266a334a25b7ad42f52106d9b30c2981bb7c1510d103d8e9731c
DIST cairo-0.13.1.1.tar.gz 54029 SHA256 58ae22451e7812a88531eaf91ae1250c277f48d0a88d1cae2438bd76f79e89f6 SHA512 bf621799f2615e93f0151282772fc01f370060e3454810aa3e205eab16804637acbaded0c1feb6f45adbf75384ccade9b11b5ea70cb79397e7815c59ca570e29 WHIRLPOOL 8a838c64bfbc48d52f7c7a7e294322fc3f9e829d99bc5ecdbf80abcc6b78e366a7b96f5a5dfeb3990ea4de4245613cc72756993f8c7ff8272b00e584a86dd38b
+DIST cairo-0.13.3.1.tar.gz 45033 SHA256 a3ca197c6d63875686ed8129530771f945fbd954ab8283841ad238da233d675a SHA512 5878f90e4cfd69452b1819d27c9ae85205c2b75f831b7bedb05d5b8e4964ec90ec16c3611218c3a794d5ae54ccae5a592102b95326be348c59ab14239b60f33b WHIRLPOOL 4a4c2ba8c63018c16d45c262e8d28a635d12951d4f78ca734e3f3bed233305c9cf1359cf06ad558c8f83f505e2f853bb40f99cf7d075d649af6c88e22f4ac300
diff --git a/dev-haskell/cairo/cairo-0.13.3.1.ebuild b/dev-haskell/cairo/cairo-0.13.3.1.ebuild
new file mode 100644
index 000000000000..4095861abf4a
--- /dev/null
+++ b/dev-haskell/cairo/cairo-0.13.3.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+# ebuild generated by hackport 0.5.9999
+#hackport: flags: cairo_ps:postscript,cairo_pdf:pdf,cairo_svg:svg
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="Binding to the Cairo library"
+HOMEPAGE="http://projects.haskell.org/gtk2hs/"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="+pdf +postscript +svg"
+
+RDEPEND="dev-haskell/mtl:=[profile?]
+ >=dev-haskell/text-1.0.0.0:=[profile?] <dev-haskell/text-1.3:=[profile?]
+ >=dev-haskell/utf8-string-0.2:=[profile?] <dev-haskell/utf8-string-1.1:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+ x11-libs/cairo
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.24
+ dev-haskell/gtk2hs-buildtools
+ virtual/pkgconfig
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag pdf cairo_pdf) \
+ $(cabal_flag postscript cairo_ps) \
+ $(cabal_flag svg cairo_svg)
+}