blob: 2d8ea9565c2877f2d940b613b18ef1261d43f48f (
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
39
40
41
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-games/cel/cel-0.98.2.ebuild,v 1.2 2005/01/01 17:57:56 eradicator Exp $
inherit eutils
MY_P="cel${PV:2:2}_00${PV:5:1}"
DESCRIPTION="A game entity layer based on Crystal Space"
HOMEPAGE="http://cel.sourceforge.net/"
SRC_URI="mirror://sourceforge/cel/${MY_P}.tar.bz2"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="ppc x86"
IUSE="python"
RDEPEND="dev-games/crystalspace
dev-util/jam
!dev-games/cel-cvs
python? ( virtual/python )"
DEPEND="${RDEPEND}
>=sys-apps/sed-4"
S=${WORKDIR}/${PN}
src_compile() {
local prefix=$(cs-config --prefix)
PATH="${prefix}/bin:${PATH}" \
./configure \
--prefix="${prefix}" \
--with-cs-prefix="${prefix}" \
$(use_with python) \
|| die "configure failed"
jam || die "jam failed"
}
src_install() {
local prefix=$(cs-config --prefix)
jam -sprefix="${D}"${prefix} install || die
}
|