Magellan Linux

Contents of /smage/trunk/extras/flashplayer/flashplayer-11.2.202.275-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4727 - (show annotations) (download)
Sat Mar 30 15:11:15 2013 UTC (11 years, 2 months ago) by niro
File size: 1209 byte(s)
auto added: ver bump to 11.2.202.275-r1
1 # $Id$
2
3 PNAME="flashplayer"
4 PVER="11.2.202.275"
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.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 }