Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 18db3f85d5
Fetching contributors…

Cannot retrieve contributors at this time

48 lines (36 sloc) 1.139 kb
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
# ebuild generated by hackport 0.3.9999
CABAL_FEATURES="bin"
inherit flag-o-matic haskell-cabal
MY_PN="Monadius"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="2-D arcade scroller"
HOMEPAGE="http://www.geocities.jp/takascience/haskell/monadius_en.html"
SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="virtual/opengl
media-libs/freeglut"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.6
>=dev-haskell/glut-2.2 <dev-haskell/glut-2.5
>=dev-haskell/opengl-2.4 <dev-haskell/opengl-2.9
>=dev-lang/ghc-7.0.1"
S="${WORKDIR}/${MY_P}"
src_prepare() {
CABAL_FILE=${MY_PN}.cabal cabal_chdeps \
'directory >= 1.1 && < 1.2' 'directory >= 1.1 && < 1.3' \
'GLUT >= 2.2 && < 2.4' 'GLUT >= 2.2 && < 2.5' \
'OpenGL >= 2.4 && < 2.7' 'OpenGL >= 2.4 && < 2.9'
}
src_configure() {
# WORKAROUND:
# monadius fails to start (GLUT expects libGLU to linked into app)
append-ldflags $(no-as-needed)
cabal_src_configure
}
Jump to Line
Something went wrong with that request. Please try again.