CRUX PPC
A lightweight GNU/Linux distribution for PowerPC!
Subversion Repository
Parent Directory
|
Revision Log
Revision 75 -
(hide annotations)
Sun Oct 4 14:32:03 2009 UTC (3 years, 7 months ago) by cjg
File size: 512 byte(s)
Sun Oct 4 14:32:03 2009 UTC (3 years, 7 months ago) by cjg
File size: 512 byte(s)
firefox-flash-plugin: added
| 1 | cjg | 75 | # Description: Gnash flash plugin for Mozilla Firefox |
| 2 | # URL: http://cruxppc.crux.it/ | ||
| 3 | # Maintainer: acrux | ||
| 4 | # Depends on: gnash, firefox | ||
| 5 | # PPC!=upstream: | ||
| 6 | |||
| 7 | name=firefox-flash-plugin | ||
| 8 | version=0.8.4 | ||
| 9 | release=1 | ||
| 10 | source=() | ||
| 11 | |||
| 12 | build(){ | ||
| 13 | plugins=( | ||
| 14 | /usr/lib/gnash/plugin/libgnashplugin.so | ||
| 15 | ) | ||
| 16 | |||
| 17 | for p in ${plugins[@]}; do | ||
| 18 | test -f $p && break | ||
| 19 | done | ||
| 20 | |||
| 21 | if [ ! -f $p ]; then | ||
| 22 | echo "Gnash Environment not found!" | ||
| 23 | return | ||
| 24 | fi | ||
| 25 | |||
| 26 | mkdir -p $PKG/usr/lib/firefox/plugins | ||
| 27 | ln -s $p $PKG/usr/lib/firefox/plugins | ||
| 28 | } |