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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Fri Jul 25 09:16:30 2014 UTC (3 years, 4 months ago) by slyfox
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +2 -2 lines
Drop trailing '.' from description.

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)

1 # Copyright 1999-2014 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-r1.ebuild,v 1.8 2014/06/05 08:15:26 slyfox Exp $
4
5 EAPI=5
6
7 # ebuild generated by hackport 0.3.9999
8
9 GTK_MAJ_VER="2"
10
11 #nocabaldep is for the fancy cabal-detection feature at build-time
12 CABAL_FEATURES="lib profile haddock hoogle hscolour nocabaldep"
13 inherit haskell-cabal
14
15 DESCRIPTION="Binding to the Cairo library"
16 HOMEPAGE="http://projects.haskell.org/gtk2hs/"
17 SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
18
19 LICENSE="BSD"
20 SLOT="0/${PV}"
21 KEYWORDS="~alpha amd64 ~ia64 ppc ppc64 sparc x86"
22 IUSE="+svg"
23
24 RDEPEND="dev-haskell/mtl:=[profile?]
25 >=dev-lang/ghc-6.10.4:=
26 x11-libs/cairo[svg?]"
27 DEPEND="${RDEPEND}
28 >=dev-haskell/cabal-1.8
29 >=dev-haskell/gtk2hs-buildtools-0.12.4:0=
30 virtual/pkgconfig"
31
32 src_configure() {
33 # x11-libs/cairo seems to build pdf and ps by default
34 cabal_src_configure \
35 --flags=cairo_pdf \
36 --flags=cairo_ps \
37 $(cabal_flag svg cairo_svg)
38 }

  ViewVC Help
Powered by ViewVC 1.1.20