about summary refs log tree commit diff
path: root/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer-10/builder.sh
blob: 2574ecb73eec04be76493dbd1b84e1fde603a58c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
source $stdenv/setup

dontStrip=1
dontPatchELF=1

unpackPhase() {
    tar xvzf $src;
    for a in *; do
	if [ -d $a ]; then
		cd $a
		break
	fi
    done
}

installPhase() {
    ensureDir $out/lib/mozilla/plugins
    cp -p libflashplayer.so $out/lib/mozilla/plugins
    patchelf --set-rpath "$rpath" $out/lib/mozilla/plugins/libflashplayer.so
}

genericBuild