Lines 11-22
Link Here
|
11 |
SRC_URI="!debug? ( http://fpdownload.macromedia.com/get/flashplayer/current/${MY_P}.tar.gz ) |
11 |
SRC_URI="!debug? ( http://fpdownload.macromedia.com/get/flashplayer/current/${MY_P}.tar.gz ) |
12 |
http://fpdownload.macromedia.com/pub/flashplayer/updaters/9/${MY_PD}.tar.gz" |
12 |
http://fpdownload.macromedia.com/pub/flashplayer/updaters/9/${MY_PD}.tar.gz" |
13 |
HOMEPAGE="http://www.adobe.com/" |
13 |
HOMEPAGE="http://www.adobe.com/" |
14 |
IUSE="debug" |
14 |
IUSE="debug nsplugin" |
15 |
SLOT="0" |
15 |
SLOT="0" |
16 |
|
16 |
|
17 |
KEYWORDS="-* ~amd64 ~x86" |
17 |
KEYWORDS="-* ~amd64 ~x86" |
18 |
LICENSE="AdobeFlash-9.0.31.0" |
18 |
LICENSE="AdobeFlash-9.0.31.0" |
19 |
S=${WORKDIR}/install_flash_player_9_linux |
|
|
20 |
RESTRICT="strip mirror" |
19 |
RESTRICT="strip mirror" |
21 |
|
20 |
|
22 |
S=${WORKDIR} |
21 |
S=${WORKDIR} |
Lines 54-70
Link Here
|
54 |
} |
53 |
} |
55 |
|
54 |
|
56 |
src_install() { |
55 |
src_install() { |
57 |
dobin flashplayer |
56 |
dodir /opt/bin |
|
|
57 |
exeinto /opt/bin |
58 |
doexe flashplayer |
58 |
|
59 |
|
|
|
60 |
# this is the readme for the standalone player with or without debugging |
61 |
# and the plugin *with* debugging |
59 |
dodoc ${MY_PD}/README |
62 |
dodoc ${MY_PD}/README |
60 |
use debug || dodoc ${MY_P}/Readme.txt |
63 |
# this is the readme for the plugin *without* debugging |
61 |
|
64 |
use debug || use nsplugin && dodoc ${MY_P}/Readme.txt |
62 |
cd ${MY_P} |
|
|
63 |
exeinto /opt/netscape/plugins |
64 |
doexe libflashplayer.so |
65 |
insinto /opt/netscape/plugins |
66 |
doins flashplayer.xpt |
67 |
|
65 |
|
68 |
inst_plugin /opt/netscape/plugins/libflashplayer.so |
66 |
if use nsplugin; then |
69 |
inst_plugin /opt/netscape/plugins/flashplayer.xpt |
67 |
cd ${MY_P} |
|
|
68 |
exeinto /opt/netscape/plugins |
69 |
doexe libflashplayer.so |
70 |
insinto /opt/netscape/plugins |
71 |
doins flashplayer.xpt |
72 |
|
73 |
inst_plugin /opt/netscape/plugins/libflashplayer.so |
74 |
inst_plugin /opt/netscape/plugins/flashplayer.xpt |
75 |
fi |
70 |
} |
76 |
} |