add git mirrors
[librdf.sqlite.git] / librdf.sqlite.podspec
blobf513d804d9820253a6619cef48b12bd8b26cee09
2 # Be sure to run `pod lib lint librdf.sqlite.podspec' to ensure this is a
3 # valid spec and remove all comments before submitting the spec.
5 # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
7 Pod::Spec.new do |s|
8   s.name            = "librdf.sqlite"
9   s.version         = File.read('VERSION')
10   s.summary         = "improved SQLite RDF triple store for Redland librdf"
11   s.description     = <<-DESC
12 Improved [SQLite](http://sqlite.org) RDF triple [storage module](http://librdf.org/docs/api/redland-storage-modules.html)
13 for [librdf](http://librdf.org/).
15 Cross platform, plain C source file.
17 Inspired by the [official sqlite store](https://github.com/dajobe/librdf/blob/master/src/rdf_storage_sqlite.c).
19 ## Usage
21 ```c
22 #include "rdf_storage_sqlite_mro.h"
23 ....
24 librdf_world *world = librdf_new_world();
25 librdf_init_storage_sqlite_mro(world);  // register storage factory
26 ....
27 const char* options = "new='yes', contexts='no'";
28 librdf_storage *newStorage = librdf_new_storage(world, LIBRDF_STORAGE_SQLITE_MRO, file_path, options);
29 ```
30 DESC
31   s.homepage        = "http://purl.mro.name/librdf.sqlite/"
32   s.license         = 'Human Rights'
33   s.author          = { "Marcus Rohrmoser" => "http://mro.name/me" }
34   s.source          = { :git => "https://github.com/mro/librdf.sqlite.git", :tag => s.version.to_s }
36   s.requires_arc    = false
37   s.platform        = :ios, '5.0'
39   s.source_files    = 'rdf_storage_sqlite_mro.{c,h}'
40   s.public_header_files = 'rdf_storage_sqlite_mro.h'
41   s.dependency 'librdf.ios', '~> 1.0'
42 end