forked from mirrors/nixpkgs
* nixpkgs: added webalizer
svn path=/nixpkgs/trunk/; revision=20253
This commit is contained in:
parent
e9404a5d83
commit
3e9de0fd12
20
pkgs/tools/networking/webalizer/default.nix
Normal file
20
pkgs/tools/networking/webalizer/default.nix
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
{stdenv, fetchurl, zlib, libpng, gd, geoip, db4}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "webalizer-2.21-02";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = ftp://ftp.mrunix.net/pub/webalizer/webalizer-2.21-02-src.tgz;
|
||||||
|
sha256 = "0spfsqxhgfnmd2yyhrmrj8chjilr8qbx1g2n3kn44k9gd4y3jfc7";
|
||||||
|
};
|
||||||
|
|
||||||
|
preConfigure =
|
||||||
|
''
|
||||||
|
substituteInPlace ./configure \
|
||||||
|
--replace "--static" ""
|
||||||
|
'';
|
||||||
|
|
||||||
|
buildInputs = [zlib libpng gd geoip db4];
|
||||||
|
|
||||||
|
configureFlags = "--enable-dns --enable-geoip --disable-static --enable-shared";
|
||||||
|
}
|
Loading…
Reference in a new issue