1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 groups = Networking/DNS
11 url = http://www.nlnetlabs.nl/projects/ldns/
13 summary = Low-level DNS(SEC) library with API
16 The flex program generates scanners. Scanners are programs which can
17 recognize lexical patterns in text. Flex takes pairs of regular
18 expressions and C code as input and generates a C source file as
19 output. The output file is compiled and linked with a library to
20 produce an executable. The executable searches through its input for
21 occurrences of the regular expressions. When a match is found, it
22 executes the corresponding C code. Flex was designed to work with
23 both Yacc and Bison, and is used by many programs as part of their
27 source_dl = http://www.nlnetlabs.nl/downloads/%{name}/
39 sed -i "s/@includedir@/@includedir@\/ldns/" \
40 packaging/libldns.pc.in
43 configure_options += \
46 --with-ca-file=/etc/pki/tls/certs/ca-bundle.trust.crt \
47 --with-ca-path=/etc/pki/tls/certs/ \
48 --with-trust-anchor=%{sharedstatedir}/unbound/root.key \
54 ./configure %{configure_options}
55 make %{PARALLELISMFLAGS}
60 install -D -m644 packaging/libldns.pc \
61 %{BUILDROOT}%{libdir}/pkgconfig/ldns.pc
63 make -C drill DESTDIR=%{BUILDROOT} install
73 files += %{bindir}/ldns-config
74 files += %{mandir}/man1/ldns-config.1*
77 package %{name}-debuginfo