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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Sun Jan 6 09:17:32 2013 UTC (18 months, 3 weeks ago) by ago
Branch: MAIN
Changes since 1.5: +2 -2 lines
Add ~sparc, wrt bug #449220

(Portage version: 2.1.11.31/cvs/Linux ppc64, unsigned Manifest commit)

1 # Copyright 1999-2013 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.4.ebuild,v 1.5 2013/01/01 14:05:33 ago Exp $
4
5 EAPI=5
6
7 # ebuild generated by hackport 0.3.9999
8
9 #nocabaldep is for the fancy cabal-detection feature at build-time
10 CABAL_FEATURES="lib profile haddock hoogle hscolour nocabaldep"
11 inherit 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/${PV}"
19 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
20 IUSE="+svg"
21
22 RDEPEND="dev-haskell/mtl:=[profile?]
23 >=dev-lang/ghc-6.10.4:=
24 x11-libs/cairo[svg?]"
25 DEPEND="${RDEPEND}
26 >=dev-haskell/cabal-1.8
27 >=dev-haskell/gtk2hs-buildtools-0.12.4"
28
29 src_configure() {
30 # x11-libs/cairo seems to build pdf and ps by default
31 cabal_src_configure \
32 --flags=cairo_pdf \
33 --flags=cairo_ps \
34 $(cabal_flag svg cairo_svg)
35 }

  ViewVC Help
Powered by ViewVC 1.1.20