1 # Maintainer: Jan de Groot <jgc@archlinux.org>
2 # Contributor: tardo <tardo@nagi-fanboi.net>
3 # Contributor: William Rea <sillywilly@gmail.com>
8 pkgdesc="Zeroconf module for Apache2"
10 url="http://0pointer.de/lennart/projects/mod_dnssd"
12 depends=('avahi' 'apache')
13 source=(http://0pointer.de/lennart/projects/$pkgname/${pkgname}-${pkgver}.tar.gz
14 fix_undefined_reference.patch) # from upstream be2fb9f6158f80068
15 sha512sums=('c3eacd2065f996ace76496b828a5be4b735225782c88ed0fba00c37ffed91af7c81cef755556968880e11e05fbaf65a4326728cb82abcad03ccaf925be1f29d3'
16 '3a7742d7c31b6fd9bbc3a67b72408b1149b86774cd5204effa0bd9c8cd15c6e0e7a045c72cd7eb3f9ea0b946282891a8a032b5b1c7713435c4eaccbef7c55535')
19 cd ${pkgname}-${pkgver}
20 patch -p1 < "${srcdir}/fix_undefined_reference.patch"
24 cd ${pkgname}-${pkgver}
25 ./configure --prefix=/usr --disable-lynx
30 cd ${pkgname}-${pkgver}
31 install -D -m755 src/.libs/mod_dnssd.so "${pkgdir}/usr/lib/httpd/modules/mod_dnssd.so"