0381008d8d
Raptor is a free software / Open Source C library that provides a set of parsers and serializers that generate Resource Description Framework (RDF) triples by parsing syntaxes or serialize the triples into a syntax. The supported parsing syntaxes are RDF/XML, N-Triples, TRiG, Turtle, RSS tag soup including all versions of RSS, Atom 1.0 and 0.3, GRDDL and microformats for HTML, XHTML and XML and RDFa. The serializing syntaxes are RDF/XML (regular, and abbreviated), Atom 1.0, GraphViz, JSON, N-Triples, RSS 1.0 and XMP.
12 lines
337 B
Ruby
12 lines
337 B
Ruby
require 'brewkit'
|
|
|
|
class Raptor <Formula
|
|
@url='http://download.librdf.org/source/raptor-1.4.19.tar.gz'
|
|
@homepage='http://librdf.org/raptor/'
|
|
@md5='50acbd3b416c3f9e1a3a8ddb825bac25'
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
|
system "make install"
|
|
end
|
|
end
|