-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRakefile
32 lines (24 loc) · 875 Bytes
/
Rakefile
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
31
32
# -*- ruby -*-
require 'rubygems'
require 'rake/gempackagetask'
$:.push 'lib'
require 'gd2'
PKG_NAME = 'sandofsky-gd2'
PKG_VERSION = GD2::VERSION
spec = Gem::Specification.new do |s|
s.name = PKG_NAME
s.version = PKG_VERSION
s.summary = 'Ruby interface to gd 2 library.'
s.files = FileList['README', 'COPY*', 'Rakefile', 'lib/**/*.rb']
s.autorequire = 'gd2'
s.requirements << 'libgd, v2.0.33 or greater'
s.test_files = FileList['test/*.rb']
s.has_rdoc = true
s.rdoc_options << '--title' << 'Ruby/GD2' << '--charset' << 'utf-8'
s.extra_rdoc_files = FileList['README', 'COPYING']
s.author = 'Rob Leslie, Forked by Ben Sandofsky'
s.email = '[email protected], [email protected]'
end
Rake::GemPackageTask.new(spec) do |pkg|
pkg.need_tar = true
end