3
0
Fork 0
forked from mirrors/nixpkgs

Gnash: Use the GNU mirror, honor $TMPDIR.

svn path=/nixpkgs/trunk/; revision=12182
This commit is contained in:
Ludovic Courtès 2008-06-25 08:50:39 +00:00
parent b81415699f
commit a667b3289a

View file

@ -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
'';