# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /home/cvs/ebuilds/media-sound/fmtools/fmtools-0.99.1.ebuild,v 1.1 2003/01/01 21:19:08 kruhft Exp $ DESCRIPTION="A collection of tools for webcams and other video devices." SRC_URI="http://www.smcc.demon.nl/camstream/download/${P}.tar.gz" HOMEPAGE="http://www.smcc.demon.nl/camstream/index.html" SLOT="0" LICENSE="freedist" IUSE="jpeg png qt" KEYWORDS="~x86 -ppc -sparc -alpha" RDEPEND="virtual/glibc" DEPEND="$RDEPEND >=x11-libs/qt-2.2.2 jpeg? ( media-libs/jpeg ) png? ( media-libs/libpng )" src_unpack() { unpack ${P}.tar.gz # Fix wrong paths for uic and moc in camstream/configure echo "Fixing camstream configure script..." sed -i -e 's|/usr/local/bin/uic|$QTDIR/bin/uic|;s|/usr/local/bin/moc|$QTDIR/bin/moc|'\ ${S}/camstream/configure } src_compile() { econf || die make || die } src_install() { einstall dohtml -r docs docinto /html/docs/api dodoc docs/api/CamStream.dox docinto /html/docs/tech dodoc docs/tech/rfc959.txt }