summaryrefslogtreecommitdiff
blob: b185c3849aae3680255c55264123938e03de3d22 (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-2004 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.7 2004/07/05 15:58:18 dholm Exp $

inherit 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="x86 ~ppc"
IUSE=""

DEPEND=">=media-libs/jpeg-6b-r2
	>=media-libs/imlib-1.9.13-r2
	>=sys-devel/autoconf-2.58"

src_unpack() {
	unpack ${A}
	cd ${S}
	epatch ${FILESDIR}/${PN}-0.5-errno.patch
	cd libltdl
	WANT_AUTOCONF=2.5 autoconf || die "autoconf failed"
}

src_install() {
	make install DESTDIR=${D} || die

	dodoc AUTHORS BUGS ChangeLog NEWS README TODO javascript.txt

	exeinto /etc/init.d
	newexe ${FILESDIR}/camserv.init camserv
}