blob: 3c3613ad7b0492ee4f5d448de927355a2e9cb5a8 (
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
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-arcade/emergence-bin/emergence-bin-0.9.ebuild,v 1.1 2004/11/20 00:36:35 mr_bones_ Exp $
inherit games
MY_P="${P/-bin}"
DESCRIPTION="Network-only top down space arcade game"
HOMEPAGE="http://emergence.uk.net/"
SRC_URI="http://emergence.uk.net/pub/releases/${PV}/${MY_P}-i686-linux-home.tbz2"
LICENSE="freedist"
SLOT="0"
KEYWORDS="-* ~x86"
IUSE=""
RESTRICT="nostrip"
RDEPEND=">=sys-libs/zlib-1.2.1
>=media-libs/libpng-1.2.5
>=media-libs/libvorbis-1.0
>=media-libs/alsa-lib-1.0.2
virtual/x11"
S="${WORKDIR}/${MY_P}"
src_install() {
dodir "${GAMES_PREFIX_OPT}/${PN}" "${GAMES_BINDIR}" /usr/share
cp -R * "${D}${GAMES_PREFIX_OPT}/${PN}" || die "cp failed"
rm -rf "${D}${GAMES_PREFIX_OPT}/${PN}"/{applications,pixmaps}
cp -R {applications,pixmaps} "${D}/usr/share" || die "cp failed"
games_make_wrapper em-client ./em-client "${GAMES_PREFIX_OPT}/${PN}"
games_make_wrapper em-server ./em-server "${GAMES_PREFIX_OPT}/${PN}"
games_make_wrapper em-edit ./em-edit "${GAMES_PREFIX_OPT}/${PN}"
prepgamesdirs
}
|