2008-10-16 15:36:27 +02:00
|
|
|
source $stdenv/setup
|
|
|
|
|
|
|
|
dontStrip=1
|
|
|
|
dontPatchELF=1
|
2011-05-18 18:24:02 +02:00
|
|
|
sourceRoot=$TMPDIR
|
2008-10-16 15:36:27 +02:00
|
|
|
|
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() {
|
2012-01-18 21:16:00 +01:00
|
|
|
mkdir -p $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
|