Commit 1febf42e authored by tcely's avatar tcely 💬 Committed by Natanael Copa

community/pdns: split out _backend function

parent f8bbafe4
......@@ -94,13 +94,20 @@ tools() {
done; unset -v _tool
}
_mv_backend() {
_backend() {
local backend=$1
shift
pkgdesc="$backend backend module for PowerDNS"
depends="$pkgname $*"
mkdir -p "$subpkgdir"
}
_mv_backend() {
local backend=$1
_backend "$@"
mkdir -p "$subpkgdir/usr/lib/pdns/pdns"
mv "$pkgdir/usr/lib/pdns/pdns/lib${backend}backend.so" \
"$subpkgdir/usr/lib/pdns/pdns/"
......
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