mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
0160f222cc
Patch by Eduard Carreras. svn path=/nixpkgs/trunk/; revision=30712
24 lines
378 B
Bash
24 lines
378 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() {
|
|
ensureDir $out/lib/mozilla/plugins
|
|
cp -pv libflashplayer.so $out/lib/mozilla/plugins
|
|
patchelf --set-rpath "$rpath" $out/lib/mozilla/plugins/libflashplayer.so
|
|
}
|
|
|
|
genericBuild
|