GNU Xnee 3.10.

svn path=/nixpkgs/trunk/; revision=28754
This commit is contained in:
Ludovic Courtès 2011-08-22 17:38:53 +00:00
parent 152a2612ae
commit f62b53ee19

View File

@ -2,17 +2,17 @@
, gtk, libXi, inputproto, pkgconfig, recordproto, texinfo }: , gtk, libXi, inputproto, pkgconfig, recordproto, texinfo }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "xnee-3.09"; name = "xnee-3.10";
src = fetchurl { src = fetchurl {
url = "mirror://gnu/xnee/${name}.tar.gz"; url = "mirror://gnu/xnee/${name}.tar.gz";
sha256 = "08171scqiqzgmbq03rwjvlsakvw9cqrr7h3b743j14z4jzbasi8i"; sha256 = "0mkbp0gikm1mv9g2v0vs7krinkz392p1crvaira8ml9q94py0q32";
}; };
patchPhase = patchPhase =
'' for i in `find cnee/test -name \*.sh` '' for i in `find cnee/test -name \*.sh`
do do
sed -i "$i" -e's|/bin/bash|/bin/sh|g' sed -i "$i" -e's|/bin/bash|/bin/sh|g ; s|/usr/bin/env bash|/bin/sh|g'
done done
''; '';
@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
configureFlags = configureFlags =
# Do a static build because `libxnee' doesn't get installed anyway. # Do a static build because `libxnee' doesn't get installed anyway.
[ "--disable-gnome-applet" "--disable-shared" "--enable-static" ]; [ "--disable-gnome-applet" "--enable-static" ];
# `cnee' is linked without `-lXi' and as a consequence has a RUNPATH that # `cnee' is linked without `-lXi' and as a consequence has a RUNPATH that
# lacks libXi. # lacks libXi.