# Copyright 1999-2005 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.4 2005/01/14 17:32:27 phosphan 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(){ einfo einfo "If you experience problems with audio, please check:" einfo "http://frost.htu.tuwien.ac.at/~roman/nuppelvideo/Sound-Howto.txt" einfo einfo "If you have bad tv reception you can fix sync problems with:" einfo "http://frost.htu.tuwien.ac.at/~roman/nuppelvideo/nuvrepairsync.tcl" einfo }