From f6332a43c35387c4a2dea1746be5fd092890ae0e Mon Sep 17 00:00:00 2001 From: davidovski Date: Mon, 27 Jun 2022 23:09:07 +0100 Subject: added lf and iptables --- repo/protobuf/protobuf.xibuild | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 repo/protobuf/protobuf.xibuild (limited to 'repo/protobuf/protobuf.xibuild') diff --git a/repo/protobuf/protobuf.xibuild b/repo/protobuf/protobuf.xibuild new file mode 100644 index 0000000..187f3a0 --- /dev/null +++ b/repo/protobuf/protobuf.xibuild @@ -0,0 +1,38 @@ +#!/bin/sh + +NAME="protobuf" +DESC="Library for extensible, efficient structure packing" + +MAKEDEPS="zlib autoconf automake libtool" + +PKG_VER=3.18.1 +SOURCE="https://github.com/google/protobuf/archive/v$PKG_VER.tar.gz" + +ADDITIONAL=" +ruby-fix-cflags.patch +skip-failing-tests.patch +trim-rakefile.patch +" + +prepare() { + apply_patches + + ./autogen.sh + + # symlink tests to the test directory + rm -rf third_party/googletest +} + +build() { + CXXFLAGS="$CXXFLAGS -fno-delete-null-pointer-checks -Wno-error" \ + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var + make +} + +package() { + make DESTDIR="$PKG_DEST" install +} -- cgit v1.2.1