void-packages/srcpkgs/protobuf/template

35 lines
1.0 KiB
Plaintext

# Template file for 'protobuf'
pkgname=protobuf
version=2.5.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="zlib-devel"
short_desc="Google's data interchange format"
maintainer="davehome <davehome@redthumb.info.tm>"
distfiles="http://${pkgname}.googlecode.com/files/${pkgname}-${version}.tar.bz2"
homepage="http://code.google.com/p/${pkgname}/"
license="BSD"
checksum=13bfc5ae543cf3aa180ac2485c0bc89495e3ae711fc6fab4f8ffe90dfb4bb677
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."
protobuf-devel_package() {
depends="zlib-devel protobuf>=${version} protobuf-lite>=${version}"
short_desc="Google's data interchange format - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
}
}
protobuf-lite_package() {
short_desc="Google's data interchange format - Lite version"
pkg_install() {
vmove "usr/lib/libprotobuf-lite.so*"
}
}