faba06ce54
LD_LIBRARY_PATH elements, since they can use patchelf --rpath if necessary. * Flashplayer / JRE: do just that. * JRE: libstdcpp5 no longer seems to be necessary for the plugin. svn path=/nixpkgs/trunk/; revision=12094
15 lines
285 B
Bash
15 lines
285 B
Bash
source $stdenv/setup
|
|
|
|
buildPhase=true
|
|
|
|
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
|