-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathracket.gemspec
30 lines (29 loc) · 1.08 KB
/
racket.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $Id$
require 'rubygems'
SPEC = Gem::Specification.new do |s|
s.name = "racket"
s.version = "1.0.12"
s.author = "Jon Hart"
s.email = "[email protected]"
s.homepage = "http://spoofed.org/files/racket/"
s.description = "Ruby Gem for reading and writing raw packets"
s.platform = Gem::Platform::RUBY
s.summary = s.description
candidates = Dir.glob("{bin,docs,examples,lib,test}/**/*")
s.files = candidates.delete_if do |item|
item.include?("CVS") || item.include?("rdoc") || item.include?(".svn")
end
s.require_path = "lib"
# bit-struct is required and works without issue on most/all platforms
s.add_dependency("bit-struct")
# pcaprub is required for packet writing only, but can be very problematic
s.requirements << "pcaprub"
s.test_files = Dir.glob("test/ts_*.rb")
s.has_rdoc = true
s.rdoc_options << "-A rest,octets,hex_octets,unsigned,signed,text,rest"
s.rdoc_options << "-p"
s.rdoc_options << "-m" << "README"
s.rdoc_options << "-W http://spoofed.org/files/racket/src/%s"
s.extra_rdoc_files = ["README"]
end
# vim: set ts=2 et sw=2: