blob: 1cad91c8ca9196191bc80be93c91e48b9fb4286b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
#
EAPI=2
inherit eutils toolchain-funcs games
DESCRIPTION="Rogue-like complex game of dungeon exploration"
HOMEPAGE="http://www.alcyone.com/max/projects/omega/"
SRC_URI="http://www.alcyone.com/binaries/omega/omega-${PV}-src.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=sys-libs/ncurses-5"
DEPEND="${RDEPEND}"
S="${WORKDIR}/${PN}"
src_prepare() {
epatch "${FILESDIR}"/${PV}-gentoo-omega.patch
}
src_compile() {
emake || die "emake failed"
}
src_install() {
dodir "${GAMES_BINDIR}" "${GAMES_DATADIR}/${PN}" "${GAMES_STATEDIR}/${PN}"
emake DESTDIR="${D}" install_not_suid || die "emake install failed"
doman docs/omega.6
dodoc docs/{omega.txt,readme{3,4,.1st}}
prepgamesdirs
}
|