Magellan Linux

Contents of /trunk/extras/flashplayer/flashplayer-11.2.202.236-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 12548 - (show annotations) (download)
Sat Jun 9 09:00:05 2012 UTC (12 years ago) by niro
File size: 1506 byte(s)
auto added: ver bump to 11.2.202.236-r1
1 # $Id$
2
3 PNAME="flashplayer"
4 PVER="11.2.202.236"
5 PBUILD="r1"
6
7 PCAT="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
14 >= dev-libs/nss-3.13"
15
16 SRCFILE_x86="install_flash_player_${PVER%%.*}_linux.i386.tar.gz"
17 SRCFILE_x86_64="install_flash_player_${PVER%%.*}_linux.x86_64.tar.gz"
18
19 SRCFILE="$(marchsrcfile)"
20 SRCDIR="${BUILDDIR}/install_flash_player_${PVER%%.*}_linux"
21
22 sminclude mtools
23
24 SRC_URI=(
25 http://fpdownload.macromedia.com/get/${PNAME}/pdc/${PVER}/${SRCFILE_x86}
26 http://fpdownload.macromedia.com/get/${PNAME}/pdc/${PVER}/${SRCFILE_x86_64}
27 http://fpdownload.macromedia.com/get/${PNAME}/current/${SRCFILE_x86}
28 http://fpdownload.macromedia.com/get/${PNAME}/current/${SRCFILE_x86_64}
29 mirror://${PNAME}/${SRCFILE_x86}
30 mirror://${PNAME}/${SRCFILE_x86_64}
31 )
32
33 # adobe looks if the useragent contains 'Linux' to decide wether it's a linux box or not
34 UP2USERAGENT="lynx Linux"
35 UP2DATE="updatecmd http://get.adobe.com/de/flashplayer/ | grep 'Player version' | sed 's/.*version\ \(.*\)/\1/'"
36
37 src_prepare()
38 {
39 munpack ${SRCFILE} ${SRCDIR} || die
40 }
41
42 src_install()
43 {
44 cd ${SRCDIR}
45
46 minstalldir /opt/netscape/plugins || die
47 minstalldir /usr/$(mlibdir)/nsbrowser/plugins || die
48
49 minstallexec libflashplayer.so /usr/$(mlibdir)/nsbrowser/plugins || die
50 mlink /usr/$(mlibdir)/nsbrowser/plugins/libflashplayer.so /opt/netscape/plugins || die
51
52 minstalldocs Readme.txt || die
53 }