2010-07-28 04:55:54 -07:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2012-06-11 00:15:06 -07:00
|
|
|
name = "figlet-2.2.4";
|
2009-04-26 04:06:48 -07:00
|
|
|
|
|
|
|
# some tools can be found here ftp://ftp.figlet.org/pub/figlet/util/
|
2010-07-28 04:55:54 -07:00
|
|
|
src = fetchurl {
|
2012-06-11 00:15:06 -07:00
|
|
|
url = ftp://ftp.figlet.org/pub/figlet/program/unix/figlet-2.2.4.tar.gz;
|
|
|
|
sha256 = "19qcmm9cmf78w1z7gbpyj9wmrfjzjl25sax9f2j37sijznrh263f";
|
2009-04-26 04:06:48 -07:00
|
|
|
};
|
|
|
|
|
2012-06-11 00:15:10 -07:00
|
|
|
installPhase = "make prefix=$out install";
|
|
|
|
|
2009-04-26 04:06:48 -07:00
|
|
|
preConfigure = ''
|
2012-01-18 12:16:00 -08:00
|
|
|
mkdir -p $out/{man/man6,bin}
|
2009-04-26 04:06:48 -07:00
|
|
|
makeFlags="DESTDIR=$out/bin MANDIR=$out/man/man6 DEFAULTFONTDIR=$out/share/figlet"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2010-07-28 04:55:54 -07:00
|
|
|
description = "Program for making large letters out of ordinary text";
|
|
|
|
homepage = http://www.figlet.org/;
|
|
|
|
license = "AFL-2.1";
|
2009-04-26 04:06:48 -07:00
|
|
|
};
|
|
|
|
}
|