1
0
forked from ports/contrib

flatbuffers: fixed download

This commit is contained in:
Tim Biermann 2020-12-13 13:14:05 +00:00
parent 46272df413
commit afaeeb9785
2 changed files with 5 additions and 4 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF33V0jWB2B8u+3qE698ig40EyHGFrYCSmaogzr3m8XeTQOD/gYXKQpm73sYSL6kLlwUMJiaSpSDf4MYZBqCtiqA4=
SHA256 (Pkgfile) = e53c839c0371eebdc63e9568fead9200cb0b6efc69063a31095200474791a93a
RWSagIOpLGJF38LueYa4Z9qlnkXhEUDns9NakDKlTR7XJD7Ocqpfcu8/Exi6Y9oeFW175NxYkrPFbFJrVRPuiqMvlOpQVnqaTAU=
SHA256 (Pkgfile) = 9fa61f6bcc561fd636a30bd5a371cbc0d6c010541ff18fb4843638d9d73a4d89
SHA256 (.footprint) = 18555468a12663ea250ddc00dc2a7136eb91d34e8d0de84298880c87297f7883
SHA256 (flatbuffers-1.12.0-1.tar.gz) = 761902cb5946600604a923455c2a811b87a093142e0cceab6c848005096d967b

View File

@ -5,13 +5,14 @@
name=flatbuffers
version=1.12.0
_commit=a402b3abaea6490d8aad1fe90d8bafe2a6396fe8
release=1
source=(#https://github.com/google/flatbuffers/archive/v$version/$name-$version.tar.gz
https://github.com/google/flatbuffers/archive/a402b3abaea6490d8aad1fe90d8bafe2a6396fe8/$name-$version-1.tar.gz)
https://github.com/google/flatbuffers/archive/$_commit/$name-$version-1.tar.gz)
build() {
[[ -e /usr/bin/ninja ]] && PKGMK_FLATBUFFERS+=' -G Ninja'
cmake -S $name-$version -B build $PKGMK_FLATBUFFERS \
cmake -S $name-$_commit -B build $PKGMK_FLATBUFFERS \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release \