[arch-commits] Commit in mod_mono/trunk (PKGBUILD)
Anatol Pomozov
anatolik at nymeria.archlinux.org
Fri Feb 28 23:25:35 UTC 2014
Date: Saturday, March 1, 2014 @ 00:25:35
Author: anatolik
Revision: 206503
upgpkg: mod_mono 2.10-4
Recompile for Apache2.4. Official release does not support it, but there are 2.4 related changes in the repository, so let's use them
Modified:
mod_mono/trunk/PKGBUILD
----------+
PKGBUILD | 19 +++++++++++--------
1 file changed, 11 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-02-28 22:40:16 UTC (rev 206502)
+++ PKGBUILD 2014-02-28 23:25:35 UTC (rev 206503)
@@ -4,24 +4,27 @@
pkgname=mod_mono
pkgver=2.10
-pkgrel=3
+pkgrel=4
pkgdesc="The mono module to make ASP.NET running on top of apache"
arch=('i686' 'x86_64')
url="http://www.go-mono.com"
license=('APACHE')
-depends=('apache>=2.2.11' 'xsp')
-source=(http://ftp.novell.com/pub/mono/sources/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('422c533a0dfbd699eb6339234261150a')
+depends=('apache' 'xsp')
+_sha1=6b73e850920865b8f6a16f232e555c71ec1cd26a
+# There is some unreleased support for Apache2.4 in official github repo
+source=(https://github.com/mono/mod_mono/archive/$_sha1.zip)
+md5sums=('2ff278fb418a8eecb275846a05fbfcf1')
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
+ cd ${pkgname}-${_sha1}
+ ./autogen.sh
CFLAGS="${CFLAGS} `apr-1-config --cppflags --includes --cflags`" ./configure \
- --prefix=/usr --sysconfdir=/etc --with-apxs=/usr/sbin/apxs \
+ --prefix=/usr --sysconfdir=/etc --with-apxs=/usr/bin/apxs \
--with-mono-prefix=/usr --with-apr-config=/usr/bin/apr-1-config
make
}
package() {
- cd ${srcdir}//${pkgname}-${pkgver}
- make DESTDIR=${pkgdir}/ install
+ cd ${pkgname}-${_sha1}
+ make DESTDIR="${pkgdir}" install
}
More information about the arch-commits
mailing list