2008-05-21 14:26:42 +01:00
|
|
|
args : with args;
|
|
|
|
rec {
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://linux.schottelius.org/gpm/archives/gpm-1.99.6.tar.lzma;
|
|
|
|
sha256 = "14zxx7nx40k8b0bmwhxfyv20xrdi8cg9fxmv8ylsx661lvizqsg3";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [lzma flex bison ncurses];
|
|
|
|
configureFlags = [];
|
|
|
|
|
|
|
|
/* doConfigure should be specified separately */
|
|
|
|
phaseNames = ["preConfigure" "doConfigure" "doMakeInstall"];
|
|
|
|
|
2009-05-20 00:25:58 +01:00
|
|
|
preConfigure = fullDepEntry (''
|
2008-05-21 14:26:42 +01:00
|
|
|
sed -e 's/[$](MKDIR)/mkdir -p /' -i doc/Makefile.in
|
|
|
|
sed -e 's/gpm2//' -i Makefile.in
|
|
|
|
'') ["addInputs" "doUnpack" "minInit"];
|
|
|
|
|
|
|
|
name = "gpm-" + version;
|
|
|
|
meta = {
|
|
|
|
description = "Mouse daemon";
|
|
|
|
};
|
|
|
|
}
|