nixpkgs/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer-10/builder.sh
Eelco Dolstra 8310876955 * Update Flash player on i686-linux.
svn path=/nixpkgs/trunk/; revision=27278
2011-05-18 16:24:02 +00:00

24 lines
378 B
Bash

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() {
ensureDir $out/lib/mozilla/plugins
cp -pv libflashplayer.so $out/lib/mozilla/plugins
patchelf --set-rpath "$rpath" $out/lib/mozilla/plugins/libflashplayer.so
}
genericBuild