2005-11-03 20:41:36 +01:00
|
|
|
{stdenv, fetchurl, flex, bison}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2008-01-15 01:55:21 +01:00
|
|
|
name = "libpcap-0.9.8";
|
2005-11-03 20:41:36 +01:00
|
|
|
src = fetchurl {
|
2008-01-15 01:55:21 +01:00
|
|
|
url = http://www.tcpdump.org/release/libpcap-0.9.8.tar.gz;
|
|
|
|
sha256 = "1yb2hg8jd1bzq3lbrff1sps4757krvj2c9pm2ixn44a4vsc865f4";
|
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
|
|
|
}
|