2008-12-08 12:44:42 +00:00
|
|
|
a :
|
|
|
|
let
|
|
|
|
fetchurl = a.fetchurl;
|
|
|
|
|
2009-05-24 10:57:41 +00:00
|
|
|
version = a.lib.attrByPath ["version"] "1.2" a;
|
2008-12-08 12:44:42 +00:00
|
|
|
buildInputs = with a; [
|
|
|
|
gpm fontconfig freetype pkgconfig
|
|
|
|
];
|
|
|
|
in
|
|
|
|
rec {
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://fbterm.googlecode.com/files/fbterm-${version}.tar.gz";
|
|
|
|
sha256 = "0q4axmnpwlpjlpaj19iw7nyxkqsvwq767szdkzsgancq99afwqyd";
|
|
|
|
};
|
|
|
|
|
|
|
|
inherit buildInputs;
|
|
|
|
configureFlags = [];
|
|
|
|
|
2009-05-19 23:25:58 +00:00
|
|
|
fixInc = a.fullDepEntry (''
|
2009-05-10 12:29:36 +00:00
|
|
|
sed -e '/ifdef SYS_signalfd/atypedef long long loff_t;' -i src/fbterm.cpp
|
|
|
|
'') ["doUnpack" "minInit"];
|
|
|
|
|
2008-12-08 12:44:42 +00:00
|
|
|
/* doConfigure should be removed if not needed */
|
2009-05-10 12:29:36 +00:00
|
|
|
phaseNames = ["fixInc" "doConfigure" "doMakeInstall"];
|
2008-12-08 12:44:42 +00:00
|
|
|
|
|
|
|
name = "fbterm-" + version;
|
|
|
|
meta = {
|
|
|
|
description = "Framebuffer terminal emulator";
|
2009-08-04 07:49:16 +00:00
|
|
|
maintainers = [a.lib.maintainers.raskin];
|
2008-12-08 12:44:42 +00:00
|
|
|
};
|
|
|
|
}
|