nixpkgs/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer-10/builder.sh
Yury G. Kudryashov e115e9a725 Be more verbose
svn path=/nixpkgs/trunk/; revision=25650
2011-01-21 08:23:31 +00:00

23 lines
359 B
Bash

source $stdenv/setup
dontStrip=1
dontPatchELF=1
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