summaryrefslogtreecommitdiff
path: root/repo/system/ldns.xibuild
blob: 372b9da932b539403bd0051c0e47e740297dabc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh

MAKEDEPS="make libpcap"
DEPS="libressl libpcap"

PKG_VER=1.8.1
SOURCE=https://www.nlnetlabs.nl/downloads/ldns/ldns-$PKG_VER.tar.gz
DESC="Free software implementation of IDNA2008, Punycode and TR46"

build () {
    ./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--disable-rpath \
		--with-drill \
		--with-examples \
		--with-trust-anchor=/etc/trusted-key.key \

	make
}

package () {
    make DESTDIR=$PKG_DEST install
}