# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /home/cvsroot/gentoo-x86/net-www/netscape-plugger/netscape-plugger-4.0-r1.ebuild,v 1.9 2002/10/04 06:20:44 vapier Exp $ MYP=${P#netscape-}-linux-x86-glibc S=${WORKDIR}/plugger-4.0 DESCRIPTION="Plugger 4.0 streaming media plugin" SRC_URI="http://fredrik.hubbe.net/plugger/"${MYP}.tar.gz HOMEPAGE="http://fredrik.hubbe.net/plugger.html" SLOT="0" KEYWORDS="x86 -ppc sparc sparc64" LICENSE="GPL-2" src_install() { cd ${S} dodir /opt/netscape/plugins /etc insinto /opt/netscape/plugins doins plugger.so insinto /etc doins pluggerrc dodoc README COPYING doman plugger.7 insinto /usr/bin dobin plugger-4.0 dosym plugger-4.0 /usr/bin/plugger if use mozilla; then into /usr/lib/mozilla/plugins dosym /opt/netscape/plugins/plugger.so \ /usr/lib/mozilla/plugins/plugger.so fi if [ `pkglist | grep net-www/phoenix-bin | wc -l` -ge 1 ] ; then dodir /usr/lib/phoenix/plugins dosym /opt/netscape/plugins/plugger.so \ /usr/lib/phoenix/plugins/plugger.so fi dodoc README }