]>
Commit | Line | Data |
---|---|---|
1e42f23e MT |
1 | ############################################################################### |
2 | # # | |
3 | # IPFire.org - A linux based firewall # | |
4 | # Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt # | |
5 | # # | |
6 | # This program is free software: you can redistribute it and/or modify # | |
7 | # it under the terms of the GNU General Public License as published by # | |
8 | # the Free Software Foundation, either version 3 of the License, or # | |
9 | # (at your option) any later version. # | |
10 | # # | |
11 | # This program is distributed in the hope that it will be useful, # | |
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of # | |
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # | |
14 | # GNU General Public License for more details. # | |
15 | # # | |
16 | # You should have received a copy of the GNU General Public License # | |
17 | # along with this program. If not, see <http://www.gnu.org/licenses/>. # | |
18 | # # | |
19 | ############################################################################### | |
20 | ||
21 | ############################################################################### | |
22 | # Definitions | |
23 | ############################################################################### | |
24 | ||
25 | include $(PKGROOT)/Include | |
26 | ||
27 | PKG_NAME = pdns | |
fe7131a4 MT |
28 | PKG_VER = 3.0 |
29 | PKG_REL = 1 | |
1e42f23e MT |
30 | |
31 | PKG_MAINTAINER = | |
bb7d617c | 32 | PKG_GROUPS = Networking/DNS |
1e42f23e MT |
33 | PKG_URL = http://powerdns.com/ |
34 | PKG_LICENSE = GPLv2 | |
35 | PKG_SUMMARY = A modern, advanced and high performance authoritative-only nameserver. | |
36 | ||
fe7131a4 MT |
37 | PKG_BUILD_DEPS+= boost-devel chrpath gcc-c++ lua-devel openldap-devel \ |
38 | sqlite-devel zlib-devel | |
1e42f23e MT |
39 | |
40 | define PKG_DESCRIPTION | |
41 | The PowerDNS Nameserver is a modern, advanced and high performance \ | |
42 | authoritative-only nameserver. It is written from scratch and conforms \ | |
43 | to all relevant DNS standards documents. \ | |
44 | Furthermore, PowerDNS interfaces with almost any database. | |
45 | endef | |
46 | ||
47 | PKG_TARBALL = $(THISAPP).tar.gz | |
48 | ||
49 | export CPPFLAGS = -DLDAP_DEPRECATED | |
50 | ||
df669f19 MT |
51 | PARALLELISMFLAGS = |
52 | ||
1e42f23e MT |
53 | CONFIGURE_OPTIONS += \ |
54 | --sysconfdir=/etc/pdns \ | |
55 | --libdir=/usr/lib/powerdns \ | |
56 | --with-modules="" \ | |
fe7131a4 MT |
57 | --with-dynmodules="pipe geo ldap gsqlite3" \ |
58 | --with-lua \ | |
59 | --disable-static | |
60 | ||
61 | define STAGE_INSTALL_CMDS | |
62 | chrpath --delete $(BUILDROOT)/usr/bin/pdns_control | |
63 | chrpath --delete $(BUILDROOT)/usr/bin/zone2ldap | |
64 | chrpath --delete $(BUILDROOT)/usr/bin/zone2sql | |
65 | chrpath --delete $(BUILDROOT)/usr/sbin/pdns_server | |
66 | chrpath --delete $(BUILDROOT)/usr/lib/powerdns/*.so | |
67 | chrpath --delete $(BUILDROOT)/usr/bin/dnsreplay | |
68 | chrpath --delete $(BUILDROOT)//usr/bin/pdnssec | |
69 | endef |