summaryrefslogtreecommitdiff
blob: 0f0466df8fa5a754f5ab7d807e06be27eb0ee069 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Daniel Robbins <drobbins@gentoo.org>

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"

src_install() {                               
	cd ${S}
	dodir /opt/netscape/plugins /etc /usr/local/bin
	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

	use mozilla && \
		into /usr/lib/mozilla/plugins;
		dosym /opt/netscape/plugins/plugger.so /usr/lib/mozilla/plugins/plugger.so
  
}