leveldb: update to 1.19.
This commit is contained in:
parent
3a6644e498
commit
9bdd6ea41b
1 changed files with 11 additions and 6 deletions
|
@ -1,14 +1,19 @@
|
|||
# Template file for 'leveldb'
|
||||
pkgname=leveldb
|
||||
version=1.18
|
||||
revision=2
|
||||
build_style=gnu-makefile
|
||||
version=1.19
|
||||
revision=1
|
||||
short_desc="A fast and lightweight key/value database library by Google"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
license="BSD"
|
||||
homepage="https://github.com/google/leveldb"
|
||||
distfiles="${homepage}/archive/v${version}.tar.gz"
|
||||
checksum=4aa1a7479bc567b95a59ac6fb79eba49f61884d6fd400f20b7af147d54c5cee5
|
||||
checksum=7d7a14ae825e66aabeb156c1c3fae9f9a76d640ef6b40ede74cc73da937e5202
|
||||
CFLAGS="-I. -I./include"
|
||||
|
||||
do_build() {
|
||||
make ${makejobs} CC="$CC" CXX="$CXX" \
|
||||
OPT="$CFLAGS" PLATFORM_LIBS="$LDFLAGS"
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vmkdir usr/lib
|
||||
|
@ -16,8 +21,8 @@ do_install() {
|
|||
vmkdir usr/share/doc/leveldb
|
||||
|
||||
# libraries
|
||||
vinstall libleveldb.so.${version} 755 usr/lib
|
||||
cp -P libleveldb.so{,.1} ${DESTDIR}/usr/lib
|
||||
vinstall out-shared/libleveldb.so.${version} 755 usr/lib
|
||||
cp -P out-shared/libleveldb.so{,.1} ${DESTDIR}/usr/lib
|
||||
|
||||
# headers
|
||||
install -m644 include/leveldb/* ${DESTDIR}/usr/include/leveldb
|
||||
|
|
Loading…
Reference in a new issue