blob: 54d4073ecced0f5a5fbd97b25ef9eaaf3d57e109 (
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
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythzoneminder/mythzoneminder-0.22_p22763.ebuild,v 1.1 2009/11/08 04:08:26 cardoe Exp $
EAPI=2
MYTHTV_NODEPS="true"
inherit qt4 mythtv-plugins toolchain-funcs
DESCRIPTION="Allows for viewing of CCTV cameras through zoneminder"
IUSE="minimal"
KEYWORDS="~amd64"
DEPEND="minimal? ( dev-db/mysql
www-misc/zoneminder )
=media-tv/mythtv-${MY_PV}*"
RDEPEND="${DEPEND}"
src_prepare() {
sed -i -e "s:g++:$(tc-getCXX):" \
"${S}"/mythzoneminder/mythzmserver/Makefile.standalone \
|| die "Sed failed"
}
src_compile() {
if use minimal; then
cd "${S}/mythzoneminder/mythzmserver"
emake CXX=$(tc-getCXX) -f Makefile.standalone || die "Emake failed"
else
mythtv-plugins_src_compile
fi
}
src_install() {
if use minimal; then
dodoc README
dobin "${S}/mythzoneminder/mythzmserver/mythzmserver" || die "Installing mythzmserver failed"
else
mythtv-plugins_src_install
fi
}
|