# $Id: PKGBUILD 111519 2011-02-27 11:39:59Z daniel $ # Maintainer: Daniel Isenmann # Contributor: Tobias Kieslich pkgname=mod_mono pkgver=2.10 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') url="http://www.go-mono.com" install=${pkgname}.install source=(http://ftp.novell.com/pub/mono/sources/${pkgname}/${pkgname}-${pkgver}.tar.bz2) md5sums=('422c533a0dfbd699eb6339234261150a') 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 }