New package: rocksdb-5.17.2
closes #8204 Co-authored-by: maxice8 <thinkabit.ukim@gmail.com>
This commit is contained in:
parent
3ad547b797
commit
15f14a884e
3 changed files with 36 additions and 0 deletions
|
@ -3409,3 +3409,4 @@ libOsiCommonTests.so.1 libClp-1.16.11_1
|
|||
libOsi.so.1 libClp-1.16.11_1
|
||||
libOGDF.so libogdf-2018.03_1
|
||||
libCOIN.so libogdf-2018.03_1
|
||||
librocksdb.so.5 rocksdb-5.17.2_1
|
||||
|
|
1
srcpkgs/rocksdb-devel
Symbolic link
1
srcpkgs/rocksdb-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
rocksdb
|
34
srcpkgs/rocksdb/template
Normal file
34
srcpkgs/rocksdb/template
Normal file
|
@ -0,0 +1,34 @@
|
|||
# Template file for 'rocksdb'
|
||||
pkgname=rocksdb
|
||||
version=5.17.2
|
||||
revision=1
|
||||
build_style=cmake
|
||||
configure_args="-DCMAKE_BUILD_TYPE=Release -DPORTABLE=1 -DWITH_TESTS=0
|
||||
-DUSE_RTTI=0 -DWITH_LZ4=1"
|
||||
makedepends="liblz4-devel"
|
||||
short_desc="RocksDB is a embeddable, persistent key-value store for fast storage"
|
||||
maintainer="magenbluten <mb0@codemonkey.cc>"
|
||||
license="GPL-2.0-or-later, Apache-2.0"
|
||||
homepage="https://github.com/facebook/rocksdb"
|
||||
distfiles="${homepage}/archive/v${version}.tar.gz"
|
||||
checksum=101f05858650a810c90e4872338222a1a3bf3b24de7b7d74466814e6a95c2d28
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
armv[56]*-musl) broken="Requires libatomic workaround" ;;
|
||||
esac
|
||||
|
||||
post_install() {
|
||||
vcopy "include/rocksdb/*" usr/include/rocksdb
|
||||
vlicense LICENSE.leveldb
|
||||
}
|
||||
|
||||
rocksdb-devel_package() {
|
||||
depends="rocksdb>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/cmake
|
||||
vmove "usr/lib/*.a"
|
||||
vmove "usr/lib/*.so"
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue