Commit 1385c3c1 authored by tcely's avatar tcely Committed by Kevin Daudt

community/knot-resolver: add lmdb-dev

LMDB version in contrib/lmdb is 0.9.21, while the system lmdb is at
0.9.23 with some notable fixes. This change also avoids the need to
duplicate main/lmdb/cacheflush.patch to resolve the build on mips*.
parent fabcb1e0
......@@ -2,7 +2,7 @@
# Maintainer: tcely <knot-resolver+aports@tcely.33mail.com>
pkgname=knot-resolver
pkgver=3.2.1
pkgrel=1
pkgrel=2
pkgdesc="Minimalistic caching DNS resolver implementation"
url="https://www.knot-resolver.cz/"
# luajit is not available for disabled arches
......@@ -14,7 +14,7 @@ depends="lua5.1-sec lua5.1-socket"
depends_dnstap=""
depends_dnstap_dev="fstrm-dev protobuf-c-dev"
depends_http="$pkgname lua5.1-http"
depends_dev="knot-dev>=2.8.0 libedit-dev libuv-dev luajit-dev $depends_dnstap_dev"
depends_dev="knot-dev>=2.8.0 libedit-dev libuv-dev lmdb-dev luajit-dev $depends_dnstap_dev"
makedepends="$depends_dev bash dnssec-root vim"
checkdepends="cmocka-dev"
install="$pkgname.pre-install"
......@@ -33,6 +33,13 @@ source="https://secure.nic.cz/files/$pkgname/$pkgname-$pkgver.tar.xz
_flags="PREFIX=/usr
ETCDIR=/etc/$pkgname"
prepare() {
default_prepare
# Make sure embedded LMDB library is not used.
rm -rf contrib/lmdb
}
build() {
make $_flags
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment