2011-12-03 16:16:17 +01:00
|
|
|
source $stdenv/setup
|
|
|
|
|
|
|
|
dontStrip=1
|
|
|
|
dontPatchELF=1
|
|
|
|
sourceRoot=$TMPDIR
|
|
|
|
|
|
|
|
unpackPhase() {
|
|
|
|
tar xvzf $src;
|
|
|
|
for a in *; do
|
|
|
|
if [ -d $a ]; then
|
|
|
|
cd $a
|
|
|
|
break
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
}
|
|
|
|
|
|
|
|
installPhase() {
|
2012-01-18 21:16:00 +01:00
|
|
|
mkdir -p $out/lib/mozilla/plugins
|
2011-12-03 16:16:17 +01:00
|
|
|
cp -pv libflashplayer.so $out/lib/mozilla/plugins
|
|
|
|
patchelf --set-rpath "$rpath" $out/lib/mozilla/plugins/libflashplayer.so
|
|
|
|
}
|
|
|
|
|
|
|
|
genericBuild
|