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