forked from mirrors/nixpkgs
GNU Guile 1.8.4.
svn path=/nixpkgs/trunk/; revision=10764
This commit is contained in:
parent
f2fbbc6052
commit
401543289c
|
@ -1,12 +1,11 @@
|
||||||
args: with args;
|
args: with args;
|
||||||
stdenv.mkDerivation {
|
|
||||||
name = "guile-1.8.3";
|
|
||||||
src = fetchurl {
|
|
||||||
url = ftp://ftp.gnu.org/gnu/guile/guile-1.8.3.tar.gz;
|
|
||||||
sha256 = "2ab59099cf2d46f57cf5421c9b84aa85f61961640046e8066c6b321257517796";
|
|
||||||
};
|
|
||||||
|
|
||||||
patches = [ ./snarf-tmpdir.patch ];
|
stdenv.mkDerivation rec {
|
||||||
|
name = "guile-1.8.4";
|
||||||
|
src = fetchurl {
|
||||||
|
url = "ftp://ftp.gnu.org/gnu/guile/" + name + ".tar.gz";
|
||||||
|
sha256 = "1cz1d4n6vzw0lfsvplsiarwqk675f12j596dzfv0h5r9cljpc0ya";
|
||||||
|
};
|
||||||
|
|
||||||
buildInputs = [ makeWrapper ];
|
buildInputs = [ makeWrapper ];
|
||||||
propagatedBuildInputs = [readline libtool gmp gawk];
|
propagatedBuildInputs = [readline libtool gmp gawk];
|
||||||
|
@ -16,4 +15,12 @@ stdenv.mkDerivation {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
setupHook = ./setup-hook.sh;
|
setupHook = ./setup-hook.sh;
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = ''GNU Guile is an interpreter for the Scheme
|
||||||
|
programming language, packaged as a library that
|
||||||
|
can be embedded into programs to make them extensible.'';
|
||||||
|
homepage = http://www.gnu.org/software/guile/;
|
||||||
|
license = "LGPL";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,16 +0,0 @@
|
||||||
--- guile-1.8.3/libguile/guile-snarf.in 2008-02-12 10:32:48.000000000 +0100
|
|
||||||
+++ guile-1.8.3/libguile/guile-snarf.in 2008-02-12 11:01:53.000000000 +0100
|
|
||||||
@@ -69,9 +69,12 @@ fi
|
|
||||||
|
|
||||||
# set vars and handler -- handle CPP override
|
|
||||||
cpp_ok_p=false
|
|
||||||
-tempdir="/tmp/snarf.$$"
|
|
||||||
+
|
|
||||||
+if [ x"$TMPDIR" = x ]; then TMPDIR="/tmp" ; else : ; fi
|
|
||||||
+tempdir="$TMPDIR/guile-snarf.$$"
|
|
||||||
(umask 077 && mkdir $tempdir) || exit 1
|
|
||||||
temp="$tempdir/tmp"
|
|
||||||
+
|
|
||||||
if [ x"$CPP" = x ] ; then cpp="@CPP@" ; else cpp="$CPP" ; fi
|
|
||||||
|
|
||||||
trap "rm -rf $tempdir" 0 1 2 15
|
|
Loading…
Reference in a new issue