# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-video/em8300-libraries-cvs/em8300-libraries-cvs-20031209.ebuild,v 1.6 2005/12/03 21:51:28 zzam Exp $ test -z "$ECVS_SERVER" && ECVS_SERVER="cvs.sourceforge.net:/cvsroot/dxr3" ECVS_MODULE="em8300" ECVS_TOP_DIR="${DISTDIR}/cvs-src/${PN}" inherit cvs debug flag-o-matic strip-flags S=${WORKDIR}/${ECVS_MODULE} DESCRIPTION="em8300 (RealMagic Hollywood+/Creative DXR3) video decoder card cvs libraries" HOMEPAGE="http://dxr3.sourceforge.net/" SRC_URI= LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="" DEPEND="|| ( media-video/em8300-modules-cvs media-video/em8300-modules ) !media-video/em8300-libraries x11-libs/gtk+" RDEPEND="${DEPEND} >=sys-apps/portage-1.9.10" PROVIDES="media-video/em8300-libraries" src_compile() { cd ${S} ./bootstrap || die "bootstrap failed" econf || die "configure failed" emake || die "make failed" } src_install() { make DESTDIR=${D} install || die dodoc AUTHORS COPYING ChangeLog README } pkg_postinst() { einfo einfo "The em8300 libraries and modules have now beein installed," einfo "you will probably want to add /usr/bin/em8300setup to your" einfo "/etc/conf.d/local.start so that your em8300 card is " einfo "properly initialized on boot." einfo einfo "If you still need a microcode other than the one included" einfo "with the package, you can simply use em8300setup " einfo }