# Maintainer: PktSurf <smlinux@pktsurf.in>
app=protobuf
version=3.14.0
build=1sml
homepage="https://github.com/protocolbuffers/protobuf"
download=""
desc="Google data interchange format"
requires="zlib gcc-libs"
   
prepbuilddir() {
  mkandenterbuilddir
  rm -rf $app-$version

  tar xf $srcdir/$app-$version.tar.?z*
  cd $app-$version
  fixbuilddirpermissions

  ./autogen.sh
}

build() {
  ./configure \
    --prefix=""

  make 
  make install DESTDIR=$pkg

  cp LICENSE $pkgdocs/

  mkfinalpkg
}

sha512sums="
9dabba81119cb6196ef5de382a1032c57f6e69038f4dce0156f8671b98e51bb5095915fb6d05bb5a8ad8b17b559e652e1e9a392dd30c7ed8dcf1d986c137be11  protobuf-3.14.0.tar.gz
"
