New package: protobuf - Google's Protocol Buffers

This commit is contained in:
davehome 2011-10-31 21:54:23 +00:00
parent 6e47267f10
commit a165a8e8ad
6 changed files with 66 additions and 0 deletions

1
srcpkgs/protobuf-devel Symbolic link
View File

@ -0,0 +1 @@
protobuf

1
srcpkgs/protobuf-lite Symbolic link
View File

@ -0,0 +1 @@
protobuf

View File

@ -0,0 +1,19 @@
# Template file for 'protobuf-devel'.
#
short_desc="${short_desc} - development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run protobuf
Add_dependency run protobuf-lite
Add_dependency run zlib--devel
do_install()
{
vmkdir usr/include
vmkdir usr/lib
vmove usr/include usr
vmove usr/lib/pkgconfig usr/lib
vmove "usr/lib/*.a" usr/lib
}

View File

@ -0,0 +1,17 @@
# Template file for 'protobuf-lite'.
#
short_desc="${short_desc} - Lite version"
long_desc="${long_desc}
This package contains the Lite version."
Add_dependency run glibc
Add_dependency run libstdc++
Add_dependency run libgcc
Add_dependency run zlib
do_install()
{
vmkdir usr/lib
vmove "usr/lib/libprotobuf-lite.so*" usr/lib
}

25
srcpkgs/protobuf/template Normal file
View File

@ -0,0 +1,25 @@
# Template file for 'protobuf'
pkgname=protobuf
version=2.4.1
distfiles="http://${pkgname}.googlecode.com/files/${pkgname}-${version}.tar.bz2"
build_style=gnu-configure
homepage="http://code.google.com/p/${pkgname}/"
license="Apache-style"
short_desc="Google's data interchange format"
maintainer="davehome <davehome@redthumb.info.tm>"
checksum=cf8452347330834bbf9c65c2e68b5562ba10c95fa40d4f7ec0d2cb332674b0bf
long_desc="
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."
subpackages="$pkgname-devel $pkgname-lite"
Add_dependency run glibc
Add_dependency run libstdc++
Add_dependency run libgcc
Add_dependency run zlib
Add_dependency build libstdc++-devel
Add_dependency build zlib-devel
Add_dependency build pkg-config

View File

@ -937,3 +937,6 @@ liblilv-0.so.0 liblilv lilv-devel
libsuil-0.so.0 suil suil-devel libsuil-0.so.0 suil suil-devel
libportaudio.so.2 portaudio portaudio-devel libportaudio.so.2 portaudio portaudio-devel
libportaudiocpp.so.0 portaudiocpp portaudiocpp-devel libportaudiocpp.so.0 portaudiocpp portaudiocpp-devel
libprotoc.so.7 protobuf protobuf-devel
libprotobuf.so.7 protobuf protobuf-devel
libprotobuf-lite.so.7 protobuf-lite protobuf-devel