Commit 278c3a9b authored by lyxell's avatar lyxell Committed by GitHub

Merge pull request #380 from cstrouse/add-libpcap

Add libpcap (1.8.1) package
parents 5bd2000a cd0e76d3
require 'package'
class Libpcap < Package
version '1.8.1'
source_url 'http://www.tcpdump.org/release/libpcap-1.8.1.tar.gz'
source_sha1 '32d7526dde8f8a2f75baf40c01670602aeef7e39'
depends_on "buildessential"
depends_on "bison"
depends_on "flex"
def self.build
system "./configure --prefix=/usr/local"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment