You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.2 KiB
58 lines
1.2 KiB
10 years ago
|
# Copyright 1999-2014 Gentoo Foundation
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
10 years ago
|
# $Header: /var/cvsroot/gentoo-x86/games-roguelike/mazesofmonad/mazesofmonad-1.0.9-r2.ebuild,v 1.1 2014/10/16 21:56:23 hasufell Exp $
|
||
10 years ago
|
|
||
|
EAPI=5
|
||
|
|
||
|
CABAL_FEATURES="bin"
|
||
|
inherit haskell-cabal games
|
||
|
|
||
|
MY_PN=MazesOfMonad
|
||
|
MY_P=${MY_PN}-${PV}
|
||
|
|
||
|
DESCRIPTION="Console-based roguelike Role Playing Game similar to nethack"
|
||
|
HOMEPAGE="https://github.com/JPMoresmau/MazesOfMonad
|
||
|
http://hackage.haskell.org/package/MazesOfMonad"
|
||
|
SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
|
||
|
|
||
|
LICENSE="BSD-2"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="~amd64 ~x86"
|
||
|
IUSE=""
|
||
|
|
||
10 years ago
|
RDEPEND=">=dev-libs/gmp-5:0
|
||
|
virtual/libffi"
|
||
10 years ago
|
DEPEND="${RDEPEND}
|
||
10 years ago
|
>=dev-lang/ghc-7.4.1
|
||
10 years ago
|
>=dev-haskell/cabal-1.6
|
||
|
dev-haskell/hunit
|
||
|
dev-haskell/mtl
|
||
|
dev-haskell/random
|
||
|
dev-haskell/regex-posix"
|
||
|
|
||
|
S=${WORKDIR}/${MY_P}
|
||
|
|
||
|
pkg_setup() {
|
||
|
games_pkg_setup
|
||
|
haskell-cabal_pkg_setup
|
||
|
}
|
||
|
|
||
|
src_configure() {
|
||
|
haskell-cabal_src_configure \
|
||
|
--prefix="${GAMES_PREFIX}"
|
||
|
}
|
||
|
|
||
|
src_compile() {
|
||
|
haskell-cabal_src_compile
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
|
haskell-cabal_src_install
|
||
|
prepgamesdirs
|
||
|
}
|
||
10 years ago
|
|
||
|
pkg_postinst() {
|
||
|
ghc-package_pkg_postinst
|
||
|
games_pkg_postinst
|
||
|
}
|