# Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Pieter Van den Abeele # $Id: gplflash-0.4.10-r1.ebuild,v 1.1 2002/06/30 02:41:03 mkennedy Exp $ S=${WORKDIR}/flash-0.4.10 DESCRIPTION="GPL Shockwave Flash Player/Plugin" SRC_URI="http://www.swift-tools.com/Flash/flash-0.4.10.tgz" HOMEPAGE="http://www.swift-tools.com/Flash" DEPEND="media-libs/libflash" LICENSE="GPL-2" SLOT="0" src_unpack() { cd ${WORKDIR} unpack flash-0.4.10.tgz cd ${S} patch -p1 <${FILESDIR}/gplflash-0.4.10-gcc3-gentoo.diff } src_compile() { cd ${S} emake } src_install() { cd ${S}/Plugin insinto /opt/netscape/plugins doins npflash.so cd ${S} dodoc README COPYING if [ "`use mozilla`" ] ; then dodir /usr/lib/mozilla/plugins dosym /opt/netscape/plugins/npflash.so \ /usr/lib/mozilla/plugins/npflash.so fi }