New package: protobuf-c-1.1.0

This commit is contained in:
Enno Boland 2015-03-13 11:53:26 +01:00
parent 891b7e661e
commit 1ef8624ab4
3 changed files with 28 additions and 0 deletions

View File

@ -1949,3 +1949,4 @@ libsndio.so.6.0 sndio-0.0.8.20150308_1
libopenconnect.so.5 openconnect-7.05_1
libusbredirparser.so.1 usbredir-0.7_1
libusbredirhost.so.1 usbredir-0.7_1
libprotobuf-c.so.1 protobuf-c-1.1.0_1

1
srcpkgs/protobuf-c-devel Symbolic link
View File

@ -0,0 +1 @@
protobuf-c

View File

@ -0,0 +1,26 @@
# Template file for 'protobuf-c'
pkgname=protobuf-c
version=1.1.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config protobuf"
makedepends="protobuf-devel"
short_desc="C implementation of the Google Protocol Buffers"
maintainer="Enno Boland <eb@s01.de>"
license="BSD"
homepage="https://github.com/protobuf-c/protobuf-c"
distfiles="$homepage/releases/download/v$version/protobuf-c-$version.tar.gz"
checksum=9a973fc04aac003f9cf2b5a90ac4b8fa294cacb4e3f0796d3b5a789a5ad46c07
# buildprocess calls compiler while building, disable it on cross build
[ "$CROSS_BUILD" ] && configure_args+=" --disable-protoc"
protobuf-c-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}