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