GoboLinux Downloads Documentation Community Recipes Screenshots

GoboLinux Recipe & Package Search Tool

4 versions of ProtoBuf.

ProgramAgeSizeByWWWSummary
ProtoBuf 3.4.1-r1 691  919 Luca...
Google Protocol Buffers
ProtoBuf 2.5.0-r1 1815  1325 Luca...
Google Protocol Buffers
view entry at GitHub | download recipe.bz2 file
Recipe
Resources/BuildInformation
Resources/Dependencies
Resources/Description
# Recipe for version 2.5.0 by Lucas C. Villa Real <lucasvr@gobolinux.org>, on Sun \
Jul 20 19:06:08 BRT 2014
# Recipe (MakeRecipe) for ProtoBuf by Michael Homer <michael@gobolinux.org>, on Sat \
Dec 20 13:48:49 NZDT 2008
compile_version=1.11.4
url="http://protobuf.googlecode.com/files/protobuf-2.5.0.tar.bz2"
file_size=1866763
file_md5=a72001a9067a4c2c4e0e836d0f92ece4
recipe_type=configure

using_python_pre_link() {
   # There is a regular python-type build under the "python" directory
   # As we have no concept of nested types, this duplicates the
   # behaviour of Type_python, but is unsandboxed.
   pushd python
   local pythonver=$(python -V 2>&1 | sed 's,Python \([0-9]*\.[0-9]*\).*,\1,')
   local sitepackages="${target}/lib/python${pythonver}/site-packages"
   local orig_PYTHONPATH="${PYTHONPATH}"
   export PYTHONPATH="$sitepackages"
   mkdir -p "$sitepackages"
   python setup.py build || Die "Python build failed."
   python setup.py build --build-lib "$sitepackages" || Die "Python build_ext failed."
   python setup.py install --prefix "$target" || Die "Python install failed."
   # easy_install tries to update site.py and install an egg file
   rm -f "$sitepackages"/*.*
   export PYTHONPATH="${orig_PYTHONPATH}"
   popd
}
ProtoBuf 2.3.0-r1 3322  1327 Kevi...
Google Protocol Buffers
ProtoBuf 2.0.3-r1 3825  1291 Mich...
Google Protocol Buffers