aboutsummaryrefslogtreecommitdiffstats
path: root/community/abseil-cpp/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/abseil-cpp/APKBUILD')
-rw-r--r--community/abseil-cpp/APKBUILD46
1 files changed, 0 insertions, 46 deletions
diff --git a/community/abseil-cpp/APKBUILD b/community/abseil-cpp/APKBUILD
deleted file mode 100644
index db70b74efee..00000000000
--- a/community/abseil-cpp/APKBUILD
+++ /dev/null
@@ -1,46 +0,0 @@
-# Contributor: Bart Ribbers <bribbers@disroot.org>
-# Maintainer:
-pkgname=abseil-cpp
-pkgver=20210324.2
-pkgrel=0
-pkgdesc="Abseil Common Libraries (C++) "
-url="https://abseil.io/"
-# ppc64le is not supported upstream
-arch="all !ppc64le"
-license="Apache-2.0"
-makedepends="
- cmake
- gtest-dev
- linux-headers
- "
-subpackages="$pkgname-dev"
-source="https://github.com/abseil/abseil-cpp/archive/$pkgver/abseil-cpp-$pkgver.tar.gz
- 0001-external-gtest.patch
- "
-
-[ "$CARCH" != "x86_64" ] && options="!check" # Multiple tests broken on all arches but x86_64
-
-build() {
- cmake -B build \
- -DCMAKE_BUILD_TYPE=None \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib \
- -DBUILD_SHARED_LIBS=ON \
- -DBUILD_TESTING=ON \
- -DABSL_USE_EXTERNAL_GOOGLETEST:BOOL=ON
- cmake --build build
-}
-
-check() {
- cd build
- CTEST_OUTPUT_ON_FAILURE=TRUE ctest
-}
-
-package() {
- DESTDIR="$pkgdir" cmake --install build
-}
-
-sha512sums="
-7b935f0f2787a81438f30072f2191138ce3c099e4b22addfbe8ebe579d906604bc6ab03f054d3d6917a08ef5cb7a4371c1a501a7dfbc15c50301261dbf5f6e27 abseil-cpp-20210324.2.tar.gz
-90cc3f364da665a2de7f88104cbff926ba006a696e11aaed234f4a0ca00f1e33f9dc9bf188663c27e5fb0916c92c7a17008d7b06c4413fc107bd8197f4249a4d 0001-external-gtest.patch
-"