summaryrefslogtreecommitdiff
path: root/extra/mod_mono/PKGBUILD
blob: 21e944d196f95a60a8ea85ed65c7f25aa4174bdc (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
# $Id: PKGBUILD 111519 2011-02-27 11:39:59Z daniel $
# Maintainer: Daniel Isenmann <daniel@archlinux.org>
# Contributor: Tobias Kieslich <tobias@justdreams.de>

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
}