summaryrefslogtreecommitdiff
blob: 5f27c21fd9660d6bc89774802cfd55d7c8f967aa (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-roguelike/adom/adom-1.1.1.ebuild,v 1.1 2003/09/10 04:59:58 vapier Exp $

inherit games eutils

DESCRIPTION="Ancient Domains Of Mystery rogue-like game"
HOMEPAGE="http://www.adom.de/"
SRC_URI="http://www.adom.de/adom/download/linux/${P//.}-elf.tar.gz"

LICENSE="adom"
SLOT="0"
KEYWORDS="x86"

DEPEND="virtual/glibc
	>=sys-libs/ncurses-5.0"

S=${WORKDIR}/${PN}

src_install() {
	exeinto ${GAMES_PREFIX_OPT}/bin
	doexe adom

	dodir ${GAMES_DATADIR}/${PN}
	keepdir ${GAMES_DATADIR}/${PN}
	echo ${GAMES_DATADIR}/${PN} > adom_ds.cfg
	insinto /etc
	doins adom_ds.cfg

	edos2unix adomfaq.txt
	dodoc adomfaq.txt manual.doc readme.1st

	prepgamesdirs
}