2005-11-03 19:41:36 +00:00
|
|
|
{stdenv, fetchurl, flex, bison}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2007-01-16 14:30:38 +00:00
|
|
|
name = "libpcap-0.9.5";
|
2005-11-03 19:41:36 +00:00
|
|
|
src = fetchurl {
|
2007-01-16 14:30:38 +00:00
|
|
|
url = http://www.tcpdump.org/release/libpcap-0.9.5.tar.gz;
|
|
|
|
md5 = "b0626ad59004fe5767ddd2ce743a2271";
|
2005-11-03 19:41:36 +00:00
|
|
|
};
|
|
|
|
buildInputs = [flex bison];
|
2007-01-16 14:30:38 +00:00
|
|
|
configureFlags = "
|
|
|
|
${if stdenv.system == "i686-linux" then "--with-pcap=linux" else ""}
|
|
|
|
";
|
2005-11-03 19:41:36 +00:00
|
|
|
}
|