Magellan Linux

Annotation of /trunk/extras/flashplayer/flashplayer-9.0.124.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (hide annotations) (download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 8 months ago) by niro
File size: 1418 byte(s)
import repo
1 niro 2 # $Header: /magellan-cvs/smage/flashplayer/flashplayer-9.0.124.0-r1.smage2,v 1.1 2008/04/09 16:42:36 niro Exp $
2    
3     PNAME="flashplayer"
4     PVER="9.0.124.0"
5     PBUILD="r1"
6    
7     PCATEGORIE="media-gfx"
8     STATE="unstable"
9    
10     DESCRIPTION="Macromedia Flash Player for Mozilla based browsers."
11     HOMEPAGE="http://www.adobe.com/de/products/flashplayer/"
12    
13     # x86_64 specific dependencies
14     SDEPENDS_x86_64=">= net-www/nspluginwrapper-0.9"
15     SPECIAL_VARS="SDEPENDS_x86_64"
16    
17     DEPEND=">= x11-libs/gtk2+-2.12
18     \$(eval echo \\\$SDEPENDS_\${ARCH/i*86/x86} | tr ';' '\n')"
19    
20     SRCFILE="install_flash_player_${PVER:0:1}_linux.tar.gz"
21     SRCDIR="${BUILDDIR}/install_flash_player_${PVER:0:1}_linux"
22    
23     sminclude mtools
24    
25     SRC_URI=(
26     http://fpdownload.macromedia.com/get/${PNAME}/current/${SRCFILE}
27     mirror://${PNAME}/${SRCFILE}
28     )
29    
30     src_prepare()
31     {
32     munpack ${SRCFILE} || die
33     }
34    
35     src_install()
36     {
37     cd ${SRCDIR}
38    
39     minstalldir /opt/netscape/plugins || die
40     minstalldir /usr/$(mlibdir)/nsbrowser/plugins || die
41    
42     minstallexec libflashplayer.so /usr/$(mlibdir)/nsbrowser/plugins || die
43     mlink /usr/$(mlibdir)/nsbrowser/plugins/libflashplayer.so /opt/netscape/plugins || die
44    
45     minstalldocs Readme.txt || die
46     }
47    
48     postinstall()
49     {
50     if [[ -x /usr/bin/nspluginwrapper ]]
51     then
52     echo "Auto installing 32bit plugins ..."
53     nspluginwrapper -v -a -i
54     fi
55     }
56    
57     postremove()
58     {
59     if [[ -x /usr/bin/nspluginwrapper ]]
60     then
61     echo "Auto updating 32bit plugins ..."
62     nspluginwrapper -v -a -u
63     fi
64     }

Properties

Name Value
svn:keywords Id