blob: ea93ab46994ac920b416831bd6ec69d4cd321664 (
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
42
43
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/effectv/effectv-0.3.10.ebuild,v 1.1 2005/03/29 22:50:57 chriswhite Exp $
inherit eutils
DESCRIPTION="EffecTV is a real-time video effect-processor"
HOMEPAGE="http://effectv.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE="mmx"
DEPEND="virtual/libc
dev-lang/nasm
media-libs/libsdl"
src_unpack() {
unpack ${A}
cd ${S}
# modify path and comment out presets
sed -i -e 's:/usr/local:/usr:' \
-e 's:^USE_VLOOPBACK:#USE_VLOOPBACK:' \
-e 's:^ARCH:#ARCH:' config.mk
if ! use mmx; then
sed -i -e 's:^USE_MMX:#USE_MMX:' config.mk
fi
# use Gentoo CFLAGS and compiler
sed -i -e "s:\$(CONFIG.arch) \$(CFLAGS.opt):${CFLAGS}:" \
-e "s:^CC:#CC:" Makefile
}
src_compile() {
emake || die "emake failed"
}
src_install() {
exeinto /usr/bin
doexe ${PN}
doman *.1
dodoc CREWS ChangeLog FAQ NEWS README TODO
}
|