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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Sep 23 08:41:05 2012 UTC (22 months ago) by phajdan.jr
Branch: MAIN
Changes since 1.3: +2 -2 lines
x86 stable wrt bug #428928

(Portage version: 2.1.11.9/cvs/Linux i686)

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.1.ebuild,v 1.3 2012/09/13 09:58:23 ago Exp $
4
5 EAPI=4
6
7 #nocabaldep is for the fancy cabal-detection feature at build-time
8 CABAL_FEATURES="lib profile haddock hscolour hoogle nocabaldep"
9 inherit base haskell-cabal
10
11 DESCRIPTION="Binding to the Cairo library."
12 HOMEPAGE="http://projects.haskell.org/gtk2hs/"
13 SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
14
15 LICENSE="BSD"
16 SLOT="0"
17 KEYWORDS="amd64 x86"
18 IUSE="+svg"
19
20 RDEPEND="dev-haskell/mtl[profile?]
21 >=dev-lang/ghc-6.10.1
22 x11-libs/cairo[svg?]"
23 DEPEND="${RDEPEND}
24 dev-haskell/gtk2hs-buildtools"
25
26 src_configure() {
27 # x11-libs/cairo seems to build pdf and ps by default
28 cabal_src_configure \
29 --flags=cairo_pdf \
30 --flags=cairo_ps \
31 $(cabal_flag svg cairo_svg)
32 }

  ViewVC Help
Powered by ViewVC 1.1.20