blob: 3cba19e1c04922e61e89e89c6543d74122825d05 (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_dnssd/mod_dnssd-0.6-r1.ebuild,v 1.2 2015/05/12 07:56:03 ago Exp $
EAPI=5
inherit apache-module eutils
DESCRIPTION="mod_dnssd is an Apache module which adds Zeroconf support via DNS-SD using Avahi"
HOMEPAGE="http://0pointer.de/lennart/projects/mod_dnssd/"
SRC_URI="http://0pointer.de/lennart/projects/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm ~x86"
IUSE=""
DEPEND="net-dns/avahi[dbus]"
RDEPEND="${DEPEND}"
APACHE2_MOD_CONF="80_${PN}"
APACHE2_MOD_DEFINE="DNSSD"
need_apache2
src_prepare() {
# Respect LDFLAGS and use LIBS properly.
epatch "${FILESDIR}/${P}-ldflags.patch"
# Fedora patch for apache 2.4
epatch "${FILESDIR}/${P}-httpd24.patch"
}
src_configure() {
econf --with-apxs=${APXS} --disable-lynx
}
# Do not use inherited src_compile since it doesn't do what we want
src_compile() {
emake
}
|