nixpkgs-suyu/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer-9/builder.sh
Eelco Dolstra 5d9dfc1e60 * Removed $installCommand, it's no longer needed since we split the
install and fixup phases.  You can just override installPhase.

svn path=/nixpkgs/trunk/; revision=12787
2008-09-02 13:51:32 +00:00

12 lines
268 B
Bash

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