analog: added version 6.0
svn path=/nixpkgs/trunk/; revision=32029
This commit is contained in:
parent
b69d6bf7e0
commit
282449afe8
|
@ -0,0 +1,39 @@
|
||||||
|
{ stdenv, fetchurl }:
|
||||||
|
|
||||||
|
let
|
||||||
|
name = "analog-6.0";
|
||||||
|
in
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
inherit name;
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://www.analog.cx/${name}.tar.gz";
|
||||||
|
sha256 = "31c0e2bedd0968f9d4657db233b20427d8c497be98194daf19d6f859d7f6fcca";
|
||||||
|
};
|
||||||
|
|
||||||
|
configurePhase = ''
|
||||||
|
sed -i src/anlghead.h \
|
||||||
|
-e "s|#define DEFAULTCONFIGFILE .*|#define DEFAULTCONFIGFILE \"$out/etc/analog.cfg\"|g" \
|
||||||
|
-e "s|#define LANGDIR .*|#define LANGDIR \"$out/share/${name}/lang/\"|g"
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/bin $out/etc $out/share/doc/${name} $out/share/man/man1 $out/share/${name}
|
||||||
|
mv analog $out/bin/
|
||||||
|
cp examples/big.cfg $out/etc/analog.cfg
|
||||||
|
mv analog.man $out/share/man/man1/analog.1
|
||||||
|
mv docs $out/share/doc/${name}/manual
|
||||||
|
mv how-to $out/share/doc/${name}/
|
||||||
|
mv lang $out/share/${name}/
|
||||||
|
mv examples $out/share/${name}/
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = "http://www.analog.cx/";
|
||||||
|
license = "GPL";
|
||||||
|
description = "a powerful tool to generate web server statistics";
|
||||||
|
maintainers = [ stdenv.lib.maintainers.simons ];
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
|
@ -363,6 +363,8 @@ let
|
||||||
|
|
||||||
aircrackng = callPackage ../tools/networking/aircrack-ng { };
|
aircrackng = callPackage ../tools/networking/aircrack-ng { };
|
||||||
|
|
||||||
|
analog = callPackage ../tools/admin/analog {};
|
||||||
|
|
||||||
archivemount = callPackage ../tools/filesystems/archivemount { };
|
archivemount = callPackage ../tools/filesystems/archivemount { };
|
||||||
|
|
||||||
asymptote = builderDefsPackage ../tools/graphics/asymptote {
|
asymptote = builderDefsPackage ../tools/graphics/asymptote {
|
||||||
|
|
Loading…
Reference in New Issue