/[gentoo-x86]/dev-haskell/cairo/cairo-0.12.3.ebuild
Gentoo

Contents of /dev-haskell/cairo/cairo-0.12.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Wed Sep 12 15:13:57 2012 UTC (2 years, 3 months ago) by qnikst
Branch: MAIN
Changes since 1.3: +2 -2 lines
move dev-haskell/cairo/cairo-0.12.3.ebuild ebuild to mirror://hackage

(Portage version: 2.2.0_alpha125/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-haskell/cairo/cairo-0.12.3.ebuild,v 1.3 2012/08/16 16:53:09 ago Exp $
4
5 # ebuild generated by hackport 0.2.13
6
7 EAPI=4
8
9 #nocabaldep is for the fancy cabal-detection feature at build-time
10 CABAL_FEATURES="lib profile haddock hscolour hoogle nocabaldep"
11 inherit base haskell-cabal
12
13 DESCRIPTION="Binding to the Cairo library."
14 HOMEPAGE="http://projects.haskell.org/gtk2hs/"
15 SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
16
17 LICENSE="BSD"
18 SLOT="0"
19 KEYWORDS="amd64 x86"
20 IUSE="+svg"
21
22 RDEPEND="dev-haskell/mtl
23 >=dev-lang/ghc-6.10.1
24 x11-libs/cairo[svg?]"
25 DEPEND="${RDEPEND}
26 dev-haskell/gtk2hs-buildtools"
27
28 PATCHES=("${FILESDIR}"/${P}-fixincl.patch)
29
30 src_configure() {
31 # x11-libs/cairo seems to build pdf and ps by default
32 cabal_src_configure \
33 --flags=cairo_pdf \
34 --flags=cairo_ps \
35 $(cabal_flag svg cairo_svg)
36 }

  ViewVC Help
Powered by ViewVC 1.1.20