diff options
Diffstat (limited to 'media-libs/libdvb/libdvb-0.5.5.1-r1.ebuild')
-rw-r--r-- | media-libs/libdvb/libdvb-0.5.5.1-r1.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/media-libs/libdvb/libdvb-0.5.5.1-r1.ebuild b/media-libs/libdvb/libdvb-0.5.5.1-r1.ebuild new file mode 100644 index 000000000000..61f3f5bf73d0 --- /dev/null +++ b/media-libs/libdvb/libdvb-0.5.5.1-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2005 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-r1.ebuild,v 1.1 2005/09/02 05:22:13 zzam Exp $ + +inherit eutils + +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=">=sys-apps/sed-4 + || ( + >=sys-kernel/linux-headers-2.6.11-r2 + media-tv/linuxtv-dvb + )" + +src_unpack() { + unpack ${A} && cd "${S}" + + # Disable compilation of sample programs + # and use DESTDIR when installing + epatch "${FILESDIR}/${P}-gentoo.patch" || die "patch failed" + sed -i.orig Makefile -e 's-/include-/include/libdvb-' +} + +src_compile() { + emake || die "compile problem" +} + +src_install() { + #einstall DESTDIR="${D}" || die "Install problem" + make DESTDIR="${D}" PREFIX=/usr install || die + + use doc && insinto "/usr/share/doc/${PF}/sample_progs" && \ + doins sample_progs/* && \ + insinto "/usr/share/doc/${PF}/samplerc" && \ + doins samplerc/* + + echo + 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 + + dodoc README +} |