diff --git a/network/misc/protobuf/actions.py b/network/misc/protobuf/actions.py new file mode 100644 index 0000000000..f6ecd7b5ef --- /dev/null +++ b/network/misc/protobuf/actions.py @@ -0,0 +1,36 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import pythonmodules +from pisi.actionsapi import shelltools +from pisi.actionsapi import get + +def setup(): + shelltools.export("PTHREAD_LIBS", "-lpthread") + shelltools.system("./autogen.sh") + autotools.autoreconf("-vif") + autotools.configure("--disable-static") + + pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ") + +def build(): + autotools.make() + shelltools.cd("python") + pythonmodules.compile() + shelltools.cd("..") + +def install(): + autotools.install() + shelltools.cd("python") + pythonmodules.install() + shelltools.cd("..") + + pisitools.insinto("/usr/share/vim/vimfiles/syntax/", "editors/proto.vim") + pisitools.insinto("/usr/share/emacs/site-lisp/", "editors/protobuf-mode.el") + + pisitools.dodoc("CHANGES.txt", "CONTRIBUTORS.txt", "LICENSE", "README.md") diff --git a/network/misc/protobuf/pspec.xml b/network/misc/protobuf/pspec.xml new file mode 100644 index 0000000000..cc521a80dd --- /dev/null +++ b/network/misc/protobuf/pspec.xml @@ -0,0 +1,57 @@ + + + + + protobuf + http://code.google.com/p/protobuf + + PisiLinux Community + admins@pisilinux.org + + Apache-2.0 + library + Google's data interchange format + Protocol Buffers are a way of encoding structured data in an efficient yet extensible format. Google uses Protocol Buffers for almost all of its internal RPC protocols and file formats. + http://source.pisilinux.org/1.0/protobuf-3.0.0-pre.tar.gz + + python-setuptools + + + + + protobuf + + libgcc + + + /usr/bin + /usr/lib/libproto* + /usr/lib/python2.7/site-packages + /usr/share/doc + /usr/share/vim + /usr/share/emacs + + + + + protobuf-devel + Development files for protobuf + + protobuf + + + /usr/include/google/protobuf + /usr/lib/pkgconfig + + + + + + 2016-06-12 + 2.6.1 + First release + PisiLinux Community + admins@pisilinux.org + + + diff --git a/network/misc/protobuf/translations.xml b/network/misc/protobuf/translations.xml new file mode 100644 index 0000000000..6b1ab6d9f1 --- /dev/null +++ b/network/misc/protobuf/translations.xml @@ -0,0 +1,13 @@ + + + + protobuf + Google'ın veri alış veriş biçimi + Protokol Arabellekleri(protobuf) yapılandırılmış veriyi kodlamak için verimli bir biçimdir. Google kendi içindeki bütün RPC protokolleri ve dosya biçimleri için Protokol Arabelleklerini kullanmaktadır. + + + + protobuf-devel + protobuf için geliştirme dosyaları + +