Updating fbterm
svn path=/nixpkgs/trunk/; revision=17981
This commit is contained in:
parent
cd04c58fe2
commit
ab85fbeec4
@ -2,17 +2,14 @@ a :
|
||||
let
|
||||
fetchurl = a.fetchurl;
|
||||
|
||||
version = a.lib.attrByPath ["version"] "1.2" a;
|
||||
buildInputs = with a; [
|
||||
gpm fontconfig freetype pkgconfig
|
||||
gpm freetype fontconfig pkgconfig ncurses
|
||||
];
|
||||
s = import ./src-for-default.nix;
|
||||
in
|
||||
rec {
|
||||
src = fetchurl {
|
||||
url = "http://fbterm.googlecode.com/files/fbterm-${version}.tar.gz";
|
||||
sha256 = "0q4axmnpwlpjlpaj19iw7nyxkqsvwq767szdkzsgancq99afwqyd";
|
||||
};
|
||||
|
||||
src = a.fetchUrlFromSrcInfo s;
|
||||
inherit(s) name;
|
||||
inherit buildInputs;
|
||||
configureFlags = [];
|
||||
|
||||
@ -20,10 +17,19 @@ rec {
|
||||
sed -e '/ifdef SYS_signalfd/atypedef long long loff_t;' -i src/fbterm.cpp
|
||||
'') ["doUnpack" "minInit"];
|
||||
|
||||
fixMakeInstall = a.fullDepEntry (''
|
||||
sed -e '/install-exec-hook:/,/^[^\t]/{d}; /.NOEXPORT/iinstall-exec-hook:\
|
||||
' -i src/Makefile.in
|
||||
'') ["doUnpack" "minInit"];
|
||||
|
||||
setVars = a.noDepEntry (''
|
||||
export HOME=$PWD;
|
||||
export NIX_LDFLAGS="$NIX_LDFLAGS -lfreetype"
|
||||
'') ;
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["fixInc" "doConfigure" "doMakeInstall"];
|
||||
phaseNames = ["setVars" "fixInc" "fixMakeInstall" "doConfigure" "doMakeInstall"];
|
||||
|
||||
name = "fbterm-" + version;
|
||||
meta = {
|
||||
description = "Framebuffer terminal emulator";
|
||||
maintainers = [a.lib.maintainers.raskin];
|
||||
|
9
pkgs/os-specific/linux/fbterm/src-for-default.nix
Normal file
9
pkgs/os-specific/linux/fbterm/src-for-default.nix
Normal file
@ -0,0 +1,9 @@
|
||||
rec {
|
||||
version="1.5";
|
||||
name="fbterm-1.5";
|
||||
hash="05qzc6g9a79has3cy7dlw70n4pn13r552a2i1g4xy23acnpvvjsb";
|
||||
url="http://fbterm.googlecode.com/files/fbterm-${version}.tar.gz";
|
||||
advertisedUrl="http://fbterm.googlecode.com/files/fbterm-1.5.tar.gz";
|
||||
|
||||
|
||||
}
|
4
pkgs/os-specific/linux/fbterm/src-info-for-default.nix
Normal file
4
pkgs/os-specific/linux/fbterm/src-info-for-default.nix
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
downloadPage = "http://code.google.com/p/fbterm/";
|
||||
baseName = "fbterm";
|
||||
}
|
@ -5278,7 +5278,7 @@ let
|
||||
};
|
||||
|
||||
fbterm = builderDefsPackage (import ../os-specific/linux/fbterm) {
|
||||
inherit fontconfig gpm freetype pkgconfig;
|
||||
inherit fontconfig gpm freetype pkgconfig ncurses;
|
||||
};
|
||||
|
||||
fuse = import ../os-specific/linux/fuse {
|
||||
|
Loading…
Reference in New Issue
Block a user