summaryrefslogtreecommitdiff
path: root/extra/mod_mono/PKGBUILD
blob: 781714d14fe7afe3e70953d99763d2314319e14b (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 149083 2012-02-05 17:05:29Z daniel $
# Maintainer: Daniel Isenmann <daniel@archlinux.org>
# Contributor: Tobias Kieslich <tobias@justdreams.de>

pkgname=mod_mono
pkgver=2.10
pkgrel=2
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
}