aboutsummaryrefslogtreecommitdiffstats
path: root/testing/rocksdb/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/rocksdb/APKBUILD')
-rw-r--r--testing/rocksdb/APKBUILD50
1 files changed, 0 insertions, 50 deletions
diff --git a/testing/rocksdb/APKBUILD b/testing/rocksdb/APKBUILD
deleted file mode 100644
index 20f35a6d117..00000000000
--- a/testing/rocksdb/APKBUILD
+++ /dev/null
@@ -1,50 +0,0 @@
-# Contributor: James Bowes <jbowes@repl.ca>
-# Contributor: Jan Segre <jan@segre.in>
-# Contributor: Lars Kuhtz <lakuhtz@gmail.com>
-# Maintainer:
-pkgname=rocksdb
-pkgver=6.17.3
-pkgrel=0
-pkgdesc="persistent key-value store for fast storage environments"
-url="https://rocksdb.org"
-# ppc64le: fatal error: sys/platform/ppc.h: No such file or directory
-arch="x86 x86_64 aarch64" # fails to build on other archs
-license="Apache-2.0 OR GPL-2.0-only"
-depends_dev="bzip2-dev gflags-dev lz4-dev snappy-dev zlib-dev zstd-dev"
-depends_static="bzip2-static gflags-dev lz4-static snappy-static zlib-static zstd-static"
-makedepends="$depends_dev linux-headers bash perl"
-subpackages="$pkgname-dev $pkgname-doc"
-options="!check" # no upstream/available test-suite
-source="$pkgname-$pkgver.tar.gz::https://github.com/facebook/rocksdb/archive/v$pkgver.tar.gz
- ppc64le-determine-platform.patch
- 10-support-busybox-install.patch
- "
-build() {
- make \
- shared_lib \
- DISABLE_WARNING_AS_ERROR=1
- make \
- static_lib \
- DISABLE_WARNING_AS_ERROR=1
-}
-
-package() {
- DESTDIR="$pkgdir" \
- PREFIX=/usr \
- LIBDIR=/usr/lib make install-shared
- DESTDIR="$pkgdir" \
- PREFIX=/usr \
- LIBDIR=/usr/lib make install-static
- strip "$pkgdir"/usr/lib/librocksdb.a
- chmod 664 "$pkgdir"/usr/lib/librocksdb.a
- install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
- install -Dm644 LICENSE.Apache "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.Apache
- mkdir -p "$pkgdir"/usr/share/doc
- cp -a docs "$pkgdir"/usr/share/doc/$pkgname
- install -Dm644 README.md "$pkgdir"/usr/share/doc/$pkgname/README.md
- install -Dm644 HISTORY.md "$pkgdir"/usr/share/doc/$pkgname/HISTORY.md
-}
-
-sha512sums="085adab94b7eb22859b4119b0356f148231800413571e932a7248967b1866d40a0be4b8265f2a9c6c21c600d3b2254c36e64ce7851171ff7c439a17306a84981 rocksdb-6.17.3.tar.gz
-835e7bb5e8e76aa264d7dbe55d44a01af4bcec7e61fc0aa8be173d28e302e9b368da064bd4b4a0020fa97bd46a51f3d8fc015db8a4af37890e0ba7924eb01ed0 ppc64le-determine-platform.patch
-9caa38f747a2aee7b8079619de928120cc5222d923833ba39aaf6f0399726522c170a6c74f6792cb472f1c2478283b5ac82df134b86f7d2784eb3f6c119966d8 10-support-busybox-install.patch"