2008-12-08 12:44:42 +00:00
|
|
|
a :
|
|
|
|
let
|
|
|
|
fetchurl = a.fetchurl;
|
|
|
|
|
2009-05-24 11:57:41 +01: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-20 00:25:58 +01:00
|
|
|
fixInc = a.fullDepEntry (''
|
2009-05-10 13:29:36 +01: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 13:29:36 +01:00
|
|
|
phaseNames = ["fixInc" "doConfigure" "doMakeInstall"];
|
2008-12-08 12:44:42 +00:00
|
|
|
|
|
|
|
name = "fbterm-" + version;
|
|
|
|
meta = {
|
|
|
|
description = "Framebuffer terminal emulator";
|
|
|
|
};
|
|
|
|
}
|