/[gentoo-x86]/media-libs/libdvb/libdvb-0.5.5.1-r2.ebuild
Gentoo

Contents of /media-libs/libdvb/libdvb-0.5.5.1-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Wed Feb 15 18:37:20 2012 UTC (2 years, 6 months ago) by hd_brummy
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +3 -3 lines
move media-tv to virtual/linuxtv-dvb-headers, bug #403929

(Portage version: 2.1.10.11/cvs/Linux i686, RepoMan options: --force)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-libs/libdvb/libdvb-0.5.5.1-r2.ebuild,v 1.9 2007/06/26 17:13:15 armin76 Exp $
4
5 inherit eutils
6
7 DESCRIPTION="libdvb package with added CAM library and libdvbmpegtools as well as dvb-mpegtools"
8 HOMEPAGE="http://www.metzlerbros.org/dvb/"
9 SRC_URI="http://www.metzlerbros.org/dvb/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="amd64 ppc x86"
14 IUSE="doc"
15
16 DEPEND="virtual/linuxtv-dvb-headers"
17
18 src_unpack() {
19 unpack ${A}
20 cd "${S}"
21
22 # Disable compilation of sample programs
23 # and use DESTDIR when installing
24 epatch "${FILESDIR}"/${P}-gentoo.patch
25 epatch "${FILESDIR}"/${P}-gentoo-file-collisions.patch
26
27 sed -i -e '/^CFLAGS=/d' config.mk || die
28 sed -i.orig Makefile -e 's-/include-/include/libdvb-'
29 }
30
31 src_install() {
32 #einstall DESTDIR="${D}" || die "Install problem"
33 make DESTDIR="${D}" PREFIX=/usr install || die
34
35 use doc && insinto "/usr/share/doc/${PF}/sample_progs" && \
36 doins sample_progs/* && \
37 insinto "/usr/share/doc/${PF}/samplerc" && \
38 doins samplerc/*
39
40 elog "The script called 'dia' has been installed as dia-dvb"
41 elog "so that it doesn't overwrite the binary of app-office/dia."
42
43 dodoc README
44 }

  ViewVC Help
Powered by ViewVC 1.1.20