2008-10-16 15:36:27 +02:00
|
|
|
{stdenv, fetchurl, zlib, alsaLib, curl}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2009-07-02 16:42:34 +02:00
|
|
|
name = "flashplayer-10.0.22.87";
|
2008-10-16 15:36:27 +02:00
|
|
|
|
|
|
|
builder = ./builder.sh;
|
|
|
|
|
2009-07-02 16:42:34 +02:00
|
|
|
src =
|
|
|
|
if stdenv.system == "x86_64-linux" then
|
|
|
|
fetchurl {
|
|
|
|
url = http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.22.87.linux-x86_64.so.tar.gz;
|
|
|
|
sha256 = "eac1d05aa96036819fe8f14f293a2ccc9601e1e32e08ec33e6ed9ed698e76145";
|
|
|
|
}
|
|
|
|
else
|
|
|
|
fetchurl {
|
|
|
|
url = http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz;
|
|
|
|
sha256 = "0kirjpm77ynsp91z6jrbn7x2hry5c6xm3scgx11wkv3zr1kg2afd";
|
|
|
|
};
|
2008-10-16 15:36:27 +02:00
|
|
|
|
|
|
|
inherit zlib alsaLib;
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
mozillaPlugin = "/lib/mozilla/plugins";
|
|
|
|
};
|
|
|
|
|
|
|
|
rpath = "${zlib}/lib:${alsaLib}/lib:${curl}/lib";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Adobe Flash Player browser plugin";
|
|
|
|
homepage = http://www.adobe.com/products/flashplayer/;
|
|
|
|
};
|
|
|
|
}
|