diff options
author | davidovski <david@davidovski.xyz> | 2023-02-02 14:10:02 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2023-02-02 14:10:02 +0000 |
commit | f29d569cd33a73da5ad675f43a34ad53c5cc9bc6 (patch) | |
tree | 76fe6267f8307e7630fc6f53ff99a9767ad40de0 /repo/leveldb/leveldb.xibuild | |
parent | 05d004dfe0c9a9d898fac8a4a0292ca2a74ca391 (diff) |
Work
Diffstat (limited to 'repo/leveldb/leveldb.xibuild')
-rw-r--r-- | repo/leveldb/leveldb.xibuild | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/repo/leveldb/leveldb.xibuild b/repo/leveldb/leveldb.xibuild deleted file mode 100644 index 0f9519b..0000000 --- a/repo/leveldb/leveldb.xibuild +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh - -NAME="leveldb" -DESC="A fast and lightweight key/value database library by Google" - -MAKEDEPS=" cmake snappy" - -PKG_VER=1.23 -SOURCE="https://github.com/google/leveldb/archive/$PKG_VER.tar.gz" - -build() { - mkdir build && cd build - cmake .. \ - -DCMAKE_BUILD_TYPE=MinSizeRel \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=/usr/lib \ - -DLEVELDB_BUILD_TESTS=ON \ - -DLEVELDB_INSTALL=ON \ - -DBUILD_SHARED_LIBS=ON - make -} - -check() { - make test -} - -package() { - make DESTDIR="$PKG_DEST" install - mkdir -p "$PKG_DEST"/usr/share/doc - cp -a ../doc "$PKG_DEST"/usr/share/doc/leveldb -} - |