Added xmacro; updated clisp - well, it compiles now...
svn path=/nixpkgs/trunk/; revision=9098
This commit is contained in:
parent
3d519c2bed
commit
4d137ad014
@ -4,9 +4,19 @@ set -e
|
|||||||
|
|
||||||
tar jxvf $src
|
tar jxvf $src
|
||||||
cd clisp-*
|
cd clisp-*
|
||||||
./configure builddir --prefix=$out
|
sed -e 's@/bin/pwd@'${coreutils}'&@' -i src/clisp-link.in
|
||||||
|
./configure --with-readline builddir --build \
|
||||||
|
--prefix=$out --with-dynamic-ffi \
|
||||||
|
--with-module=clx/new-clx --with-module=i18n \
|
||||||
|
--with-module=bindings/glibc \
|
||||||
|
--with-module=pcre --with-module=rawsock \
|
||||||
|
--with-module=readline --with-module=syscalls \
|
||||||
|
--with-module=wildcard --with-modules=zlib ||
|
||||||
|
for i in $(find . -name config.log ); do
|
||||||
|
echo -------
|
||||||
|
echo $i;
|
||||||
|
echo ===
|
||||||
|
cat $i;
|
||||||
|
done > /tmp/clisp-config-log
|
||||||
cd builddir
|
cd builddir
|
||||||
./makemake --with-dynamic-ffi --prefix=$out > Makefile
|
|
||||||
make config.lisp
|
|
||||||
make
|
|
||||||
make install
|
make install
|
||||||
|
@ -1,13 +1,15 @@
|
|||||||
{stdenv, fetchurl, libsigsegv, gettext}:
|
args:
|
||||||
|
args.stdenv.mkDerivation {
|
||||||
stdenv.mkDerivation {
|
name = "clisp-2.41a";
|
||||||
name = "clisp-2.33.2";
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = args.
|
||||||
url = http://nix.cs.uu.nl/dist/tarballs/clisp-2.33.2.tar.bz2;
|
fetchurl {
|
||||||
md5 = "ee4ea316db1e843dcb16094bf500012f";
|
url = ftp://ftp.gnu.org/pub/gnu/clisp/release/2.41/clisp-2.41a.tar.bz2;
|
||||||
};
|
sha256 = "08z35bni42dhlqlsg5rr5p025961fl82gqvaadrf0jh20jdqspqy";
|
||||||
|
};
|
||||||
|
|
||||||
inherit libsigsegv gettext;
|
inherit (args) libsigsegv gettext coreutils;
|
||||||
buildInputs = [libsigsegv gettext];
|
buildInputs = (with args;
|
||||||
|
[libsigsegv gettext ncurses readline libX11 libXau
|
||||||
|
libXt pcre zlib]);
|
||||||
}
|
}
|
||||||
|
16
pkgs/tools/X11/xmacro/default.nix
Normal file
16
pkgs/tools/X11/xmacro/default.nix
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
args:
|
||||||
|
args.stdenv.mkDerivation {
|
||||||
|
name = "xmacro";
|
||||||
|
|
||||||
|
src = args.fetchurl {
|
||||||
|
url = http://dfn.dl.sourceforge.net/sourceforge/xmacro/xmacro-pre0.3-20000911.tar.gz;
|
||||||
|
md5 = "d2956b82f3d5380e58a75ccc721fb746";
|
||||||
|
};
|
||||||
|
|
||||||
|
preBuild=" sed -e 's/-pedantic//g' -i Makefile ";
|
||||||
|
|
||||||
|
preInstall="echo -e 'install:\n mkdir \${out}/bin;\n cp xmacrorec xmacrorec2 xmacroplay \${out}/bin;' >>Makefile; ";
|
||||||
|
|
||||||
|
buildInputs = (with args;
|
||||||
|
[libX11 libXtst xextproto libXi inputproto]);
|
||||||
|
}
|
@ -920,7 +920,9 @@ rec {
|
|||||||
|
|
||||||
|
|
||||||
clisp = import ../development/interpreters/clisp {
|
clisp = import ../development/interpreters/clisp {
|
||||||
inherit fetchurl stdenv libsigsegv gettext;
|
inherit fetchurl stdenv libsigsegv gettext
|
||||||
|
readline ncurses coreutils pcre zlib;
|
||||||
|
inherit (xlibs) libX11 libXau libXt;
|
||||||
};
|
};
|
||||||
|
|
||||||
guile = import ../development/interpreters/guile {
|
guile = import ../development/interpreters/guile {
|
||||||
@ -3413,6 +3415,12 @@ rec {
|
|||||||
inherit (xlibs) libXaw xproto libXt libX11 libSM libICE;
|
inherit (xlibs) libXaw xproto libXt libX11 libSM libICE;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
xmacro = import ../tools/X11/xmacro {
|
||||||
|
inherit fetchurl stdenv;
|
||||||
|
inherit (xlibs) libX11 libXi
|
||||||
|
libXtst xextproto inputproto;
|
||||||
|
};
|
||||||
|
|
||||||
xmove = import ../applications/misc/xmove {
|
xmove = import ../applications/misc/xmove {
|
||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
inherit (xlibs) libX11 libXi imake libXau;
|
inherit (xlibs) libX11 libXi imake libXau;
|
||||||
|
Loading…
Reference in New Issue
Block a user