summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Martin2015-10-09 22:36:22 -0400
committerPaul Martin2015-10-09 22:36:22 -0400
commitf8229b0db52d8cbd082a545105f93115d5cb513d (patch)
treece50ab98800469fe1481add55e2e77e20096bc4d
parent4e4e49e8bb5dddf47b07124ed1a74ac6817bf735 (diff)
downloadaur-f8229b0db52d8cbd082a545105f93115d5cb513d.tar.gz
updated dependencies and fixed build issue with libsnappy
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 1 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7c1b54e48ae..8f836f39d74 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -8,6 +8,7 @@ pkgbase = hyperleveldb
license = BSD
makedepends = wget
makedepends = gcc
+ depends = snappy
source = http://hyperdex.org/src/hyperleveldb-1.2.2.tar.gz
md5sums = 440d22289fa0fd355d01bc8ee04e04ae
diff --git a/PKGBUILD b/PKGBUILD
index 1f766b0cd0e..b3ea68fe8b1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@ pkgdesc="A fork of LevelDB intended to meet the needs of HyperDex while remainin
url="https://github.com/rescrv/HyperLevelDB"
arch=('x86_64' 'i686')
license=('BSD')
-depends=()
+depends=('snappy')
makedepends=('wget' 'gcc')
conflicts=()
replaces=()
@@ -16,6 +16,7 @@ md5sums=('440d22289fa0fd355d01bc8ee04e04ae')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -i 's/db_bench_LDADD = libhyperleveldb\.la -lpthread/db_bench_LDADD = libhyperleveldb.la -lpthread $(SNAPPY_LIBS)/' Makefile.in
./configure --prefix=/usr
make
}