diff options
author | Ludovic Courtès <ludo@gnu.org> | 2008-06-25 08:50:39 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2008-06-25 08:50:39 +0000 |
commit | a667b3289a6ed3e6c2c8e563e4bd87ad28418f00 (patch) | |
tree | bddec74f3f56fd3f01b6318d8b2777f38db2dd52 /pkgs/applications/video | |
parent | b81415699faf5cf863af342718f54e73f19c20c0 (diff) |
Gnash: Use the GNU mirror, honor $TMPDIR.
svn path=/nixpkgs/trunk/; revision=12182
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r-- | pkgs/applications/video/gnash/default.nix | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/pkgs/applications/video/gnash/default.nix b/pkgs/applications/video/gnash/default.nix index 0aa847f43824..4beb8059b72e 100644 --- a/pkgs/applications/video/gnash/default.nix +++ b/pkgs/applications/video/gnash/default.nix @@ -5,11 +5,12 @@ , glib, gtk, x11 , lib}: +let version = "0.8.3"; in stdenv.mkDerivation rec { - name = "gnash-0.8.2"; + name = "gnash-${version}"; src = fetchurl { - url = http://getgnash.org/packages/releases/gnash-0.8.3.tar.bz2; + url = "mirror://gnu/gnash/${version}/${name}.tar.bz2"; sha256 = "16n32774sd5q4nkd95v2m8r2yfa9fk30jnq1iicarq3j8i2xh7xg"; }; @@ -23,6 +24,12 @@ stdenv.mkDerivation rec { do echo -n "$lib " >> macros/libslist done + + # Make sure to honor $TMPDIR, for chroot builds. + for file in configure gui/Makefile.in Makefile.in + do + sed -i "$file" -es'|/tmp/|$TMPDIR/|g' + done ''; |