diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/mod_mono |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/mod_mono')
-rw-r--r-- | extra/mod_mono/PKGBUILD | 24 | ||||
-rw-r--r-- | extra/mod_mono/mod_mono.install | 20 |
2 files changed, 44 insertions, 0 deletions
diff --git a/extra/mod_mono/PKGBUILD b/extra/mod_mono/PKGBUILD new file mode 100644 index 000000000..21e944d19 --- /dev/null +++ b/extra/mod_mono/PKGBUILD @@ -0,0 +1,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 +} diff --git a/extra/mod_mono/mod_mono.install b/extra/mod_mono/mod_mono.install new file mode 100644 index 000000000..4945a714b --- /dev/null +++ b/extra/mod_mono/mod_mono.install @@ -0,0 +1,20 @@ +# arg 1: the new package version +post_install() { + cat << EOM + +--> As of version 1.1.10 mod_mono let's you use asp pages very easily by some +--> auto integration in apache. Please read: + http://www.mono-project.com/AutoConfiguration +--> to get the idea. To use mod_mono, you only have to type into httpd.conf: +Include /etc/httpd/conf/mod_mono.conf + +EOM +} + +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { + post_install $1 +} + +# vim: ft=sh |