Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 185141
Collapse All | Expand All

(-)netscape-flash-9.0.48.0-orig.ebuild (-35 / +3 lines)
Lines 2-22 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/net-www/netscape-flash/netscape-flash-9.0.48.0.ebuild,v 1.2 2007/07/14 17:03:28 tester Exp $
3
# $Header: /var/cvsroot/gentoo-x86/net-www/netscape-flash/netscape-flash-9.0.48.0.ebuild,v 1.2 2007/07/14 17:03:28 tester Exp $
4
4
5
inherit nsplugins
5
inherit nsplugins rpm
6
7
MY_P="install_flash_player_9_linux"
8
MY_PD="flash_player_9_linux_dev"
9
6
10
DESCRIPTION="Adobe Flash Player"
7
DESCRIPTION="Adobe Flash Player"
11
SRC_URI="!debug? ( http://fpdownload.macromedia.com/get/flashplayer/current/${MY_P}.tar.gz )
8
SRC_URI="http://fpdownload.macromedia.com/get/flashplayer/current/flash-plugin-${PV}-release.i386.rpm"
12
	http://fpdownload.macromedia.com/pub/flashplayer/updaters/9/${MY_PD}.tar.gz"
13
HOMEPAGE="http://www.adobe.com/"
9
HOMEPAGE="http://www.adobe.com/"
14
IUSE="debug"
10
IUSE="debug"
15
SLOT="0"
11
SLOT="0"
16
12
17
KEYWORDS="-* amd64 x86"
13
KEYWORDS="-* amd64 x86"
18
LICENSE="AdobeFlash-9.0.31.0"
14
LICENSE="AdobeFlash-9.0.31.0"
19
S=${WORKDIR}/install_flash_player_9_linux
20
RESTRICT="strip mirror"
15
RESTRICT="strip mirror"
21
16
22
S=${WORKDIR}
17
S=${WORKDIR}
Lines 40-75 Link Here
40
	has_multilib_profile && ABI="x86"
35
	has_multilib_profile && ABI="x86"
41
}
36
}
42
37
43
src_unpack() {
44
	unpack ${A}
45
46
	cd ${S}
47
	if use debug; then
48
		unpack ./${MY_PD}/plugin/debugger/${MY_P}.tar.gz
49
		unpack ./${MY_PD}/standalone/debugger/flashplayer.tar.gz
50
	else
51
		unpack ./${MY_PD}/standalone/release/flashplayer.tar.gz
52
	fi
53
}
54
55
src_install() {
38
src_install() {
56
	dobin flashplayer
39
	cd ${S}/usr/lib/flash-plugin
57
58
	dodoc ${MY_PD}/README
59
60
	cd ${MY_P}
61
	exeinto /opt/netscape/plugins
40
	exeinto /opt/netscape/plugins
62
	doexe libflashplayer.so
41
	doexe libflashplayer.so
63
	insinto /opt/netscape/plugins
64
	doins flashplayer.xpt
65
66
	inst_plugin /opt/netscape/plugins/libflashplayer.so
42
	inst_plugin /opt/netscape/plugins/libflashplayer.so
67
	inst_plugin /opt/netscape/plugins/flashplayer.xpt
68
}
69
70
pkg_postinst() {
71
	if use debug ; then
72
		elog "You are installing content debugger version of the package."
73
		elog "This is NOT intended for normal use!"
74
	fi
75
}
43
}

Return to bug 185141