Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 496472
Collapse All | Expand All

(-)/usr/portage/games-roguelike/adom/adom-1.1.1-r1.ebuild (-16 / +16 lines)
Lines 1-37 Link Here
1
# Copyright 1999-2012 Gentoo Foundation
1
# Copyright 1999-2012 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/games-roguelike/adom/adom-1.1.1-r1.ebuild,v 1.11 2012/09/24 00:37:02 vapier Exp $
3
4
EAPI="4"
4
5
5
inherit eutils games
6
inherit eutils games
6
7
7
DESCRIPTION="Ancient Domains Of Mystery rogue-like game"
8
DESCRIPTION="Ancient Domains Of Mystery rogue-like game"
8
HOMEPAGE="http://www.adom.de/"
9
HOMEPAGE="http://www.adom.de/"
9
SRC_URI="http://www.adom.de/adom/download/linux/${P//.}-elf.tar.gz"
10
SRC_URI="
11
    x86? ( http://www.ancardia.com/download/${PN}_linux_debian_32_${PV}.tar.gz )
12
    amd64? ( http://www.ancardia.com/download/${PN}_linux_debian_64_${PV}.tar.gz )
13
    arm? ( http://www.ancardia.com/download/${PN}_linux_arm_${PV}.tar.gz )"
14
10
15
11
LICENSE="adom"
16
LICENSE="adom"
12
SLOT="0"
17
SLOT="0"
13
KEYWORDS="amd64 x86"
18
KEYWORDS="x86 amd64 arm"
14
IUSE=""
19
IUSE=""
15
RESTRICT="strip" #bug #137340
20
RESTRICT="strip"
16
QA_FLAGS_IGNORED="${GAMES_PREFIX_OPT:1}/bin/adom"
21
QA_FLAGS_IGNORED="${GAMES_BINDIR}/${PN}"
17
22
18
DEPEND=">=sys-libs/ncurses-5.0
23
DEPEND="!arm? ( >=sys-libs/ncurses-5.0[tinfo] )"
19
	amd64? ( app-emulation/emul-linux-x86-baselibs )"
20
24
21
S=${WORKDIR}/${PN}
25
S=${WORKDIR}/${PN}
22
26
23
src_install() {
27
src_install() {
24
	exeinto "${GAMES_PREFIX_OPT}/bin"
28
	exeinto "${GAMES_BINDIR}"
25
	doexe adom
29
	doexe adom
26
30
27
	keepdir "${GAMES_STATEDIR}/${PN}"
31
	edos2unix docs/{adomfaq.txt,manual.txt,readme1st.txt}
28
	echo "${GAMES_STATEDIR}/${PN}" > adom_ds.cfg
32
	dodoc docs/{adomfaq.txt,manual.txt,readme1st.txt}
29
	insinto /etc
30
	doins adom_ds.cfg
31
32
	edos2unix adomfaq.txt
33
	dodoc adomfaq.txt manual.doc readme.1st
34
33
35
	prepgamesdirs
34
	prepgamesdirs
36
	fperms g+w "${GAMES_STATEDIR}/${PN}"
35
	fperms g+w "${GAMES_BINDIR}/${PN}"
37
}
36
}
37

Return to bug 496472