summaryrefslogtreecommitdiff
blob: 62278f64888bccff1c79e07a051e363ec4cd07eb (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-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-www/adobesvg/adobesvg-3.01_beta3.ebuild,v 1.1 2004/05/19 01:10:33 vapier Exp $

inherit nsplugins

MY_BV=88
MY_PV=${PV/_beta3/x${MY_BV}}
DESCRIPTION="Scalable Vector Graphics plugin"
HOMEPAGE="http://www.adobe.com/svg/main.html"
SRC_URI="http://download.adobe.com/pub/adobe/magic/svgviewer/linux/3.x/3.01x${MY_BV}/en/${PN}-${MY_PV}-linux-i386.tar.gz"

LICENSE="Adobe"
SLOT="0"
KEYWORDS="-* x86"

S=${WORKDIR}/${PN}-3.01

src_install() {
	insinto /usr/lib/adobesvg
	doins *.so LICENSE.txt

	dodir /opt/netscape/plugins
	dosym /usr/lib/adobesvg/libNPSVG3.so /opt/netscape/plugins/libNPSVG3.so
	inst_plugin /opt/netscape/plugins/libNPSVG3.so

	dohtml -A svg *.html *.svg
}