Added ttmkfdir - program to create fonts.scale for TTF fonts

svn path=/nixpkgs/trunk/; revision=10910
This commit is contained in:
Michael Raskin 2008-03-02 18:40:42 +00:00
parent 7ffdd3a997
commit 10daad7e97
4 changed files with 25 additions and 0 deletions

View File

@ -30,4 +30,5 @@ stdenv.mkDerivation rec {
";
homepage = "http://sixpak.org/dosfstools/dosfstools-2.8vb2.tar.gz";
};
inherit src;
}

View File

@ -48,4 +48,5 @@ stdenv.mkDerivation rec {
Relational FS over FUSE.
";
};
inherit src;
}

View File

@ -19,5 +19,6 @@ stdenv.mkDerivation rec {
description = "
Readline wrapper for console programs.
";
inherit src;
};
}

View File

@ -0,0 +1,22 @@
args: with args; with debPackage;
debBuild ({
src =
fetchurl {
url = http://ftp.de.debian.org/debian/pool/main/t/ttmkfdir/ttmkfdir_3.0.9.orig.tar.gz;
sha256 = "0n6bmmndmp4c1myisvv7cby559gzgvwsw4rfw065a3f92m87jxiq";
};
patch =
fetchurl {
url = http://ftp.de.debian.org/debian/pool/main/t/ttmkfdir/ttmkfdir_3.0.9-5.1.diff.gz;
sha256 = "1500kwvhxfq85zg7nwnn9dlvjxyg2ni7as17gdfm67pl9a45q3w4";
};
name = "ttf-mkfontdir-3.0.9-5.1";
buildInputs = [fontconfig freetype libunwind libtool
flex bison];
meta = {
description = "Create fonts.dir for TTF font directory.";
};
extraReplacements = ''sed -e 's/int isatty(int [^)]*)/& throw()/' '';
omitConfigure = true;
} // args)