# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-tv/nuppelvideo/nuppelvideo-0.52a.ebuild,v 1.6 2007/05/01 00:31:16 genone Exp $ inherit eutils MY_P=NuppelVideo-${PV} S=${WORKDIR}/${MY_P} DESCRIPTION="NuppelVideo is a simple low consuming and fast capture program for bttv-cards (BT8x8)" HOMEPAGE="http://frost.htu.tuwien.ac.at/~roman/nuppelvideo/" SRC_URI="http://frost.htu.tuwien.ac.at/~roman/nuppelvideo/${MY_P}.tar.gz" LICENSE="GPL-2 as-is" SLOT="0" IUSE="" KEYWORDS="x86" DEPEND="virtual/os-headers >=sys-apps/sed-4" RDEPEND="" src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/gcc3.4.patch sed -e 's:^CFLAGS.*::' -i Makefile || die "sed failed" } src_compile() { emake || die } src_install() { dodoc README LICENSE* dobin nuvrec nuvplay nuvedit nuv2mpg nuv2vbr } pkg_postinst(){ elog elog "If you experience problems with audio, please check:" elog "http://frost.htu.tuwien.ac.at/~roman/nuppelvideo/Sound-Howto.txt" elog elog "If you have bad tv reception you can fix sync problems with:" elog "http://frost.htu.tuwien.ac.at/~roman/nuppelvideo/nuvrepairsync.tcl" elog }