2014-11-13 17:44:54 +01:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "icmake-${version}";
|
2015-05-28 18:57:32 +02:00
|
|
|
version = "7.22.01";
|
2014-11-13 17:44:54 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/icmake/icmake_${version}.orig.tar.gz";
|
2015-05-28 18:57:32 +02:00
|
|
|
sha256 = "1iv6p9cyvr9i2sjhklplr65llg1ycxqy7z4dfgn0nkwxgs9yf8mm";
|
2014-11-13 17:44:54 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs ./
|
|
|
|
sed -i "s;usr/;;g" INSTALL.im
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildPhase = "./icm_bootstrap $out";
|
|
|
|
|
|
|
|
installPhase = "./icm_install all /";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A program maintenance (make) utility using a C-like grammar";
|
|
|
|
homepage = http://icmake.sourceforge.net/;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ pSub ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
2015-01-21 13:19:43 +01:00
|
|
|
}
|