blob: 9fa42f0207388c9010bab9e664ecf28b0e6c2f61 (
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
44
45
46
47
48
49
50
51
52
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/libdvb/libdvb-0.5.5.1-r3.ebuild,v 1.3 2006/11/02 10:55:38 zzam Exp $
WANT_AUTOMAKE="latest"
WANT_AUTOCONF="latest"
inherit eutils autotools
DESCRIPTION="libdvb package with added CAM library and libdvbmpegtools as well as dvb-mpegtools"
HOMEPAGE="http://www.metzlerbros.org/dvb/"
SRC_URI="http://www.metzlerbros.org/dvb/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~x86"
IUSE="doc"
DEPEND="media-tv/linuxtv-dvb-headers"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-autotools.patch"
epatch "${FILESDIR}/${P}-rename-analyze.patch"
eautoreconf
}
src_install() {
#einstall DESTDIR="${D}" || die "Install problem"
insinto /usr/$(get_libdir)
make DESTDIR="${D}" PREFIX=/usr LIBDIR=$(get_libdir) install || die "Problem at make install"
cd ${D}/usr/bin
mv dia dia_dvb
cd ${S}
if use doc; then
insinto "/usr/share/doc/${PF}/sample_progs"
doins sample_progs/*
insinto "/usr/share/doc/${PF}/samplerc"
doins samplerc/*
fi
einfo "The script called 'dia' has been installed as dia_dvb"
einfo "so that it doesn't overwrite the binary of app-office/dia."
einfo "analyze has been renamed to analyze_mpg."
dodoc README
}
|