mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 22:23:15 +00:00
c556a6ea46
function, so obsolete it. svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
24 lines
377 B
Bash
24 lines
377 B
Bash
source $stdenv/setup
|
|
|
|
dontStrip=1
|
|
dontPatchELF=1
|
|
sourceRoot=$TMPDIR
|
|
|
|
unpackPhase() {
|
|
tar xvzf $src;
|
|
for a in *; do
|
|
if [ -d $a ]; then
|
|
cd $a
|
|
break
|
|
fi
|
|
done
|
|
}
|
|
|
|
installPhase() {
|
|
mkdir -p $out/lib/mozilla/plugins
|
|
cp -pv libflashplayer.so $out/lib/mozilla/plugins
|
|
patchelf --set-rpath "$rpath" $out/lib/mozilla/plugins/libflashplayer.so
|
|
}
|
|
|
|
genericBuild
|