nixpkgs/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer-9/builder.sh
Eelco Dolstra c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00

15 lines
263 B
Bash

source $stdenv/setup
dontStrip=1
dontPatchELF=1
sourceRoot=.
installPhase() {
mkdir -p $out/lib/mozilla/plugins
cp -p libflashplayer.so $out/lib/mozilla/plugins
patchelf --set-rpath $rpath $out/lib/mozilla/plugins/libflashplayer.so
}
genericBuild