/[gentoo-x86]/net-dns/knot/knot-1.0.6.ebuild
Gentoo

Contents of /net-dns/knot/knot-1.0.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Thu Jul 26 14:00:35 2012 UTC (20 months, 3 weeks ago) by scarabeus
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Revision bump to fix non-root runs. Thanks to Ondrej Caletka for the patch and info about the issue.

(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)

1 scarabeus 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 scarabeus 1.2 # $Header: /var/cvsroot/gentoo-x86/net-dns/knot/knot-1.0.6.ebuild,v 1.1 2012/06/21 18:08:30 scarabeus Exp $
4 scarabeus 1.1
5     EAPI=4
6    
7     inherit eutils autotools
8    
9     DESCRIPTION="High-performance authoritative-only DNS server"
10     HOMEPAGE="http://www.knot-dns.cz/"
11     SRC_URI="http://public.nic.cz/files/knot-dns/${P}.tar.gz"
12    
13     LICENSE="GPL-3"
14     SLOT="0"
15     KEYWORDS="~amd64 ~x86"
16     IUSE="debug"
17    
18     RDEPEND="
19     dev-libs/openssl
20     dev-libs/userspace-rcu
21     "
22     # sys-libs/glibc
23     DEPEND="${RDEPEND}
24     virtual/pkgconfig
25     sys-devel/flex
26     virtual/yacc
27     "
28    
29     src_prepare() {
30     epatch \
31     "${FILESDIR}"/${PN}-move-pidfile-to-var.patch \
32     "${FILESDIR}"/${PN}-braindead-lto.patch
33     sed -i \
34     -e 's:-Werror::g' \
35     configure.ac || die
36     eautoreconf
37     }
38    
39     src_configure() {
40     econf \
41     --sysconfdir="${EPREFIX}/etc/${PN}" \
42     --libexecdir="${EPREFIX}/usr/libexec/${PN}" \
43     --enable-recvmmsg \
44     $(use_enable debug debug verbose)
45     }
46    
47     src_install() {
48     default
49    
50     newinitd "${FILESDIR}/knot.init" knot-dns
51     }

  ViewVC Help
Powered by ViewVC 1.1.20