PKGBUILDs/extra/mod_dnssd/PKGBUILD
2009-10-09 21:23:22 -05:00

23 lines
740 B
Bash

# $Id: $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: tardo <tardo@nagi-fanboi.net>
# Contributor: William Rea <sillywilly@gmail.com>
pkgname=mod_dnssd
pkgver=0.6
pkgrel=3
pkgdesc="Zeroconf module for Apache2"
arch=('i686' 'x86_64')
url="http://0pointer.de/lennart/projects/mod_dnssd"
license=('APACHE')
depends=('avahi' 'apache')
source=(http://0pointer.de/lennart/projects/$pkgname/${pkgname}-${pkgver}.tar.gz)
md5sums=('bed3d95a98168bf0515922d1c05020c5')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --disable-lynx || return 1
make || return 1
install -m755 -d "${pkgdir}/usr/lib/httpd/modules"
install -m755 src/.libs/mod_dnssd.so "${pkgdir}/usr/lib/httpd/modules/" || return 1
}