# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-video/y4mscaler/y4mscaler-9.0.ebuild,v 1.4 2007/07/28 16:44:25 angelos Exp $ SRC_URI="http://www.mir.com/DMG/Software/${P}-src.tgz" DESCRIPTION="y4mscaler is a video scaler which operates on YUV4MPEG2 streams, as used by the tools in the MJPEGtools project." HOMEPAGE="http://www.mir.com/DMG/Software/" LICENSE="GPL-2" DEPEND=">=media-video/mjpegtools-1.8.0-r1" KEYWORDS="amd64 x86" SLOT="0" src_compile() { # There's no 'configure' script (yet) sed -i -e "s:CPU_OPT =:CPU_OPT = ${CXXFLAGS}:" Makefile emake } src_install() { # The program doesn't have an install routine (for now) dobin y4mscaler doman y4mscaler.1 dodoc ChangeLog README TODO }