2008-10-16 15:36:27 +02:00
|
|
|
source $stdenv/setup
|
|
|
|
|
|
|
|
dontStrip=1
|
|
|
|
dontPatchELF=1
|
|
|
|
|
2009-03-04 12:04:16 +01:00
|
|
|
unpackPhase() {
|
|
|
|
tar xvzf $src;
|
|
|
|
for a in *; do
|
|
|
|
if [ -d $a ]; then
|
|
|
|
cd $a
|
|
|
|
break
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
}
|
|
|
|
|
2008-10-16 15:36:27 +02:00
|
|
|
installPhase() {
|
|
|
|
ensureDir $out/lib/mozilla/plugins
|
2011-01-21 09:23:31 +01:00
|
|
|
cp -pv libflashplayer.so $out/lib/mozilla/plugins
|
2008-10-16 15:36:27 +02:00
|
|
|
patchelf --set-rpath "$rpath" $out/lib/mozilla/plugins/libflashplayer.so
|
|
|
|
}
|
|
|
|
|
|
|
|
genericBuild
|