forked from mirrors/nixpkgs
xbomb: clean up
Use makeFlags instead of patching Makefile
This commit is contained in:
parent
86d3c33475
commit
814dcd907f
|
@ -9,10 +9,9 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [ libX11 libXaw ];
|
||||
|
||||
preBuild = ''
|
||||
substituteInPlace Makefile \
|
||||
--replace /usr/local $out
|
||||
'';
|
||||
makeFlags = [
|
||||
"INSTDIR=${placeholder ''out''}"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://www.gedanken.org.uk/software/xbomb/;
|
||||
|
|
Loading…
Reference in a new issue