2008-12-08 13:44:42 +01:00
|
|
|
a :
|
|
|
|
let
|
|
|
|
fetchurl = a.fetchurl;
|
|
|
|
|
2009-05-24 12:57:41 +02:00
|
|
|
version = a.lib.attrByPath ["version"] "1.2" a;
|
2008-12-08 13:44:42 +01: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 01:25:58 +02:00
|
|
|
fixInc = a.fullDepEntry (''
|
2009-05-10 14:29:36 +02:00
|
|
|
sed -e '/ifdef SYS_signalfd/atypedef long long loff_t;' -i src/fbterm.cpp
|
|
|
|
'') ["doUnpack" "minInit"];
|
|
|
|
|
2008-12-08 13:44:42 +01:00
|
|
|
/* doConfigure should be removed if not needed */
|
2009-05-10 14:29:36 +02:00
|
|
|
phaseNames = ["fixInc" "doConfigure" "doMakeInstall"];
|
2008-12-08 13:44:42 +01:00
|
|
|
|
|
|
|
name = "fbterm-" + version;
|
|
|
|
meta = {
|
|
|
|
description = "Framebuffer terminal emulator";
|
2009-08-04 09:49:16 +02:00
|
|
|
maintainers = [a.lib.maintainers.raskin];
|
2008-12-08 13:44:42 +01:00
|
|
|
};
|
|
|
|
}
|