nixpkgs/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer/builder.sh
Eelco Dolstra 8b01d4ef0a * Added the Flash Player plugin.
* Plugins can specify extra directories to be added to LD_LIBRARY_PATH
  by the Firefox wrapper.  The Flash plugin need this since it's
  installed from a binary distribution, and so doesn't set the RPATH
  properly.
* Moved the MPlayer plugin to a plugins directory.

svn path=/nixpkgs/trunk/; revision=1566
2004-10-17 13:56:56 +00:00

13 lines
290 B
Bash

. $stdenv/setup
dontBuild=1
dontMakeInstall=1
postInstall=postInstall
postInstall() {
mkdir -p $out/lib/mozilla/plugins
cp -p flashplayer.xpt libflashplayer.so $out/lib/mozilla/plugins
echo "$zlib/lib:$libXmu/lib" > $out/lib/mozilla/plugins/extra-library-path
}
genericBuild