summaryrefslogtreecommitdiff
path: root/libyajl2.gemspec
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2014-05-02 14:32:16 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2014-05-02 14:32:16 -0700
commite7c99f982920dc74fc7b9bfacefce0398f2cc61a (patch)
tree43c1802ec274485985834e7d68db944f66598d7c /libyajl2.gemspec
parent87feb87c492d56e9b709dd537e54060fa78a292e (diff)
downloadlibyajl2-gem-e7c99f982920dc74fc7b9bfacefce0398f2cc61a.tar.gz
checkpoint of work
doesn't work yet
Diffstat (limited to 'libyajl2.gemspec')
-rw-r--r--libyajl2.gemspec26
1 files changed, 26 insertions, 0 deletions
diff --git a/libyajl2.gemspec b/libyajl2.gemspec
new file mode 100644
index 0000000..a6b42d9
--- /dev/null
+++ b/libyajl2.gemspec
@@ -0,0 +1,26 @@
+# coding: utf-8
+lib = File.expand_path('../lib', __FILE__)
+$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
+require 'libyajl2/version'
+
+Gem::Specification.new do |spec|
+ spec.name = "libyajl2"
+ spec.version = Libyajl2::VERSION
+ spec.authors = ["lamont-granquist"]
+ spec.email = ["lamont@scriptkiddie.org"]
+ spec.summary = %q{Installs a vendored copy of libyajl2 for distributions which lack it}
+ spec.description = spec.summary
+ spec.homepage = ""
+ spec.licenses = ["Apache 2.0"]
+
+ spec.files = `git ls-files -z`.split("\x0") +
+ `find ext/libyajl2/vendor/yajl -type f -print0`.split("\x0")
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
+ spec.require_paths = ["lib"]
+
+ spec.extensions = Dir["ext/**/extconf.rb"]
+
+ spec.add_development_dependency "bundler", "~> 1.5"
+ spec.add_development_dependency "rake"
+end