blob: c4c4c9b79e042605525fec41b6c9d1777c575eea (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Id: gplflash-0.4.10.ebuild,v 1.5 2002/08/16 03:01:01 murphy 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"
KEYWORDS="x86 sparc sparc64"
SLOT="0"
LICENSE="GPL-2"
DEPEND="media-libs/libflash"
PATCH=${FILESDIR}/gentoo.diff
src_unpack() {
cd ${WORKDIR}
unpack flash-0.4.10.tgz
cd ${S}
cat ${PATCH} | patch -p0 || die
}
src_compile() {
cd ${S}
emake
}
src_install() {
cd ${S}/Plugin
insinto /opt/netscape/plugins
doins npflash.so
cd ${S}
dodoc README ReadMe.htm
if [ "`use mozilla`" ] ; then
dodir /usr/lib/mozilla/plugins
dosym /opt/netscape/plugins/npflash.so \
/usr/lib/mozilla/plugins/npflash.so
fi
}
|