diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-01-12 01:39:54 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-01-12 01:39:54 +0000 |
commit | 5d4e2c0456662aa1f74d1a2c41b1bfb567f56d7d (patch) | |
tree | 2b8febb001be429260957e56ae975964774f4aeb /user/snappy | |
parent | 750ede08c898240f8c8c9e74277ca1580b3f10f3 (diff) | |
download | packages-5d4e2c0456662aa1f74d1a2c41b1bfb567f56d7d.tar.gz packages-5d4e2c0456662aa1f74d1a2c41b1bfb567f56d7d.tar.bz2 packages-5d4e2c0456662aa1f74d1a2c41b1bfb567f56d7d.tar.xz packages-5d4e2c0456662aa1f74d1a2c41b1bfb567f56d7d.zip |
user/*: Modernise / fix syntax / metadata / deps
Diffstat (limited to 'user/snappy')
-rw-r--r-- | user/snappy/APKBUILD | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/user/snappy/APKBUILD b/user/snappy/APKBUILD index 7f9b35e0d..3662d501e 100644 --- a/user/snappy/APKBUILD +++ b/user/snappy/APKBUILD @@ -8,12 +8,12 @@ url="https://google.github.io/snappy/" arch="all" [ "$CARCH" = "armhf" ] && options="!check" # does not pass testsuite on armhf license="BSD-3-Clause" +depends="" +makedepends="cmake" subpackages="$pkgname-dbg $pkgname-dev" -source="snappy-$pkgver.tar.gz::https://github.com/google/snappy/archive/$pkgver.tar.gz - " +source="snappy-$pkgver.tar.gz::https://github.com/google/snappy/archive/$pkgver.tar.gz" build() { - cd "$builddir" if [ "$CBUILD" != "$CHOST" ]; then CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux" fi @@ -24,17 +24,15 @@ build() { -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ -DCMAKE_C_FLAGS="$CFLAGS" \ - ${CMAKE_CROSSOPTS} + ${CMAKE_CROSSOPTS} . make } check() { - cd "$builddir" CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { - cd "$builddir" make DESTDIR="$pkgdir" install } |