@@ -0,0 +1,35 @@
1+{ stdenv, fetchurl, openssl, net_snmp }:
3+stdenv.mkDerivation rec {
4+ name = "keepalived-1.2.17";
7+ url = "http://keepalived.org/software/${name}.tar.gz";
8+ sha256 = "1w7px8phx3pyb3b56m3nz1a9ncx26q34fgy8j4n2dpi284jmqm6z";
11+ buildInputs = [ openssl net_snmp ];
14+ sed -i 's,$(DESTDIR)/usr/share,$out/share,g' Makefile.in
19+ "--localstatedir=/var"
25+ "sysconfdir=\${out}/etc"
28+ meta = with stdenv.lib; {
29+ homepage = http://keepalived.org;
30+ description = "routing software written in C";
31+ license = licenses.gpl2;
32+ platforms = platforms.linux;
33+ maintainers = with maintainers; [ wkennington ];