svn path=/nixpkgs/trunk/; revision=16145

This commit is contained in:
Eelco Dolstra 2009-07-02 14:42:34 +00:00
parent bdb96c9200
commit 88455f3742

View file

@ -1,20 +1,20 @@
{stdenv, fetchurl, zlib, alsaLib, curl}:
stdenv.mkDerivation {
name = if (stdenv.system == "x86_64-linux") then
"flashplayer-10.0.22.87"
else
"flashplayer-10.0.22";
name = "flashplayer-10.0.22.87";
builder = ./builder.sh;
src = if (stdenv.system == "x86_64-linux") then fetchurl {
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 {
else
fetchurl {
url = http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz;
sha256 = "cd29f166c87fecc943e88fe951bb61c56728fab12b4bf343badafa73ea95394e";
sha256 = "0kirjpm77ynsp91z6jrbn7x2hry5c6xm3scgx11wkv3zr1kg2afd";
};
inherit zlib alsaLib;