blob: 8c53d050ec619699842af7f7308de5c90d7de4e9 (
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-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/camserv/camserv-0.5.1-r2.ebuild,v 1.15 2011/02/26 19:20:33 signals Exp $
inherit autotools eutils
DESCRIPTION="A streaming video server"
HOMEPAGE="http://cserv.sourceforge.net"
SRC_URI="mirror://sourceforge/cserv/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc x86"
IUSE=""
RDEPEND="virtual/jpeg
media-libs/imlib2"
DEPEND="${RDEPEND}"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P/.1}-errno.patch
epatch "${FILESDIR}"/${P}-libtool.patch
epatch "${FILESDIR}"/${P}-memcpy.patch
# no longer existing macro, but we don't need it
sed -i -e '/AM_ACLOCAL_INCLUDE/d' configure.in || die
AT_M4DIR="${S}/macros" eautoreconf
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed."
dodoc AUTHORS BUGS ChangeLog NEWS README TODO javascript.txt
newinitd "${FILESDIR}"/camserv.init camserv
}
|