void-packages/srcpkgs/protobuf/template

40 lines
1.1 KiB
Plaintext

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