blob: 7239a7f8086a4e4c8ca5364b74b71fccb23ca57e (
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-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-misc/jugglemaster/jugglemaster-0.4.ebuild,v 1.1 2004/09/02 08:40:19 mr_bones_ Exp $
DESCRIPTION="A siteswap animator"
HOMEPAGE="http://icculus.org/jugglemaster/"
SRC_URI="http://icculus.org/${PN}/download/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~ppc ~x86"
IUSE="ffmpeg"
DEPEND="x11-libs/wxGTK
ffmpeg? ( media-video/ffmpeg )"
src_unpack() {
unpack ${A}
cd "${S}"
if use ffmpeg ; then
sed -i \
-e "s/libavcodec/ffmpeg/" \
src/jmdlx/Makefile \
|| die "sed failed"
sed -i \
-e "/^FFMPEG_PREFIX/s:=.*:=/usr/include:" \
-e "/^HAVE_FFMPEG/s:0:1:" \
Makefile.cfg \
|| die "sed failed"
fi
}
src_compile() {
cd src/jmdlx
emake || die "emake failed"
}
src_install () {
dobin src/jmdlx/jmdlx || die "dobin failed"
dodoc ChangeLog README TODO
}
|