diff options
author | Leo <thinkabit.ukim@gmail.com> | 2020-01-20 10:14:51 +0100 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-01-20 10:14:51 +0100 |
commit | db12bfda964cd05b28b4f24c3f4ed3a4a854d518 (patch) | |
tree | 4e4007c4ea2970ff27d7f0c459cd1a88ebc36acf /testing | |
parent | 23d6a8f95e4091da6a9963d3061deca979972a80 (diff) | |
download | aports-db12bfda964cd05b28b4f24c3f4ed3a4a854d518.zip |
community/range-v3: move from testing
Diffstat (limited to 'testing')
-rw-r--r-- | testing/range-v3/APKBUILD | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/testing/range-v3/APKBUILD b/testing/range-v3/APKBUILD deleted file mode 100644 index 3babcd6af7a..00000000000 --- a/testing/range-v3/APKBUILD +++ /dev/null @@ -1,46 +0,0 @@ -# Contributor: Leo <thinkabit.ukim@gmail.com> -# Maintainer: Leo <thinkabit.ukim@gmail.com> -pkgname=range-v3 -pkgver=0.10.0 -pkgrel=0 -pkgdesc="Experimental range library for C++11/14/17" -options="!check" -url="https://github.com/ericniebler/range-v3" -arch="noarch" -license="BSL-1.0" -makedepends="cmake ninja" -subpackages="$pkgname-dev" -source="$pkgname-$pkgver.tar.gz::https://github.com/ericniebler/range-v3/archive/$pkgver.tar.gz" - -prepare() { - sed -e '/Werror/d' -i cmake/ranges_flags.cmake - default_prepare -} - -build() { - if [ "$CBUILD" != "$CHOST" ]; then - CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux" - fi - cmake -B build -G Ninja \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DBUILD_SHARED_LIBS=True \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ - -DRANGE_V3_EXAMPLES=OFF \ - -DRANGE_V3_PERF=OFF \ - -DRANGE_V3_TESTS=OFF \ - -DRANGE_V3_HEADER_CHECKS=ON \ - -DRANGES_MODULES=OFF \ - -DRANGES_NATIVE=OFF \ - -DRANGES_DEBUG_INFO=OFF \ - -DRANGES_PREFER_REAL_CONCEPTS=ON \ - -DRANGES_VERBOSE_BUILD=ON \ - $CMAKE_CROSSOPTS - ninja -C build -} - -package() { - DESTDIR="$pkgdir" ninja -C build install -} - -sha512sums="4db089dcbf638eb30fa20dcf6785dd460c5a074a8912984a484592753cfee9f5b9a0e2c56b5bc5921d1b6120877aa2c83ac0a6fe428088ef2854033a635e9723 range-v3-0.10.0.tar.gz" |