Contents of /smage/branches/alx-0_6_0/extras/flashplayer/flashplayer-11.2.202.228-r1.smage2
Parent Directory | Revision Log
Revision 3444 -
(show annotations)
(download)
Wed Apr 11 11:53:46 2012 UTC (12 years, 5 months ago) by niro
File size: 1215 byte(s)
Wed Apr 11 11:53:46 2012 UTC (12 years, 5 months ago) by niro
File size: 1215 byte(s)
-fixed SRC_URIs
1 | # $Id$ |
2 | |
3 | PNAME="flashplayer" |
4 | PVER="11.2.202.228" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="media-gfx" |
8 | |
9 | DESCRIPTION="Macromedia Flash Player for Mozilla based browsers." |
10 | HOMEPAGE="http://www.adobe.com/de/products/flashplayer/" |
11 | |
12 | DEPEND=">= x11-libs/gtk2+-2.24 |
13 | >= net-misc/curl-7.21 |
14 | >= dev-libs/nss-3.12" |
15 | |
16 | SRCFILE="install_flash_player_${PVER%%.*}_linux.i386.tar.gz" |
17 | SRCDIR="${BUILDDIR}/install_flash_player_${PVER%%.*}_linux" |
18 | |
19 | sminclude mtools |
20 | |
21 | SRC_URI=( |
22 | http://fpdownload.macromedia.com/get/${PNAME}/pdc/${PVER}/${SRCFILE} |
23 | http://fpdownload.macromedia.com/get/${PNAME}/current/${SRCFILE} |
24 | mirror://${PNAME}/${SRCFILE} |
25 | ) |
26 | |
27 | # adobe looks if the useragent contains 'Linux' to decide wether it's a linux box or not |
28 | UP2USERAGENT="lynx Linux" |
29 | UP2DATE="updatecmd http://get.adobe.com/de/flashplayer/ | grep 'Player version' | sed 's/.*version\ \(.*\)/\1/'" |
30 | |
31 | src_prepare() |
32 | { |
33 | munpack ${SRCFILE} ${SRCDIR} || die |
34 | } |
35 | |
36 | src_install() |
37 | { |
38 | cd ${SRCDIR} |
39 | |
40 | minstalldir /opt/netscape/plugins || die |
41 | minstalldir /usr/$(mlibdir)/nsbrowser/plugins || die |
42 | |
43 | minstallexec libflashplayer.so /usr/$(mlibdir)/nsbrowser/plugins || die |
44 | mlink /usr/$(mlibdir)/nsbrowser/plugins/libflashplayer.so /opt/netscape/plugins || die |
45 | |
46 | minstalldocs Readme.txt || die |
47 | } |