# $Id: PKGBUILD 45017 2009-07-06 16:56:09Z daniel $ # Maintainer: Daniel Isenmann # Contributor: Tobias Kieslich pkgname=mod_mono pkgver=2.4.2 pkgrel=1 pkgdesc="The mono module to make ASP.NET running on top of apache" arch=(i686 x86_64) license=('APACHE') depends=('apache>=2.2.11' 'xsp>=2.4.2') url="http://www.go-mono.com" install=${pkgname}.install source=(http://ftp.novell.com/pub/mono/sources/${pkgname}/${pkgname}-${pkgver}.tar.bz2) md5sums=('9417d44cf2ebe4d999d681640db698b2') build() { cd ${startdir}/src/${pkgname}-${pkgver} CFLAGS="${CFLAGS} `apr-1-config --cppflags --includes --cflags`" ./configure \ --prefix=/usr --sysconfdir=/etc --with-apxs=/usr/sbin/apxs \ --with-mono-prefix=/usr --with-apr-config=/usr/bin/apr-1-config make || return 1 make DESTDIR=${startdir}/pkg install }