updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / mod_scgi / PKGBUILD
blob484539bb786b1fd944fd8c6028c414a324038b5b
1 # Contributor: Roman Cheplyaka <roma@ro-che.info>
2 pkgname=mod_scgi
3 pkgver=1.14
4 pkgrel=1
5 pkgdesc="Apache module that implements SCGI protocol"
6 url="http://python.ca/scgi/"
7 depends=('apache')
8 license=('custom')
9 arch=('i686' 'x86_64')
10 source=(http://python.ca/scgi/releases/scgi-$pkgver.tar.gz)
11 md5sums=('73d942a9ecdf4f20c8234e72ea82c7ee')
13 build() {
14   cd  $srcdir/scgi-$pkgver/apache2
15   sed -i 's/apxs2/apxs/g' Makefile || return 1
16   make || return 1
17   install -m 644 -D .libs/mod_scgi.so $pkgdir/usr/lib/httpd/modules/mod_scgi.so || return 1
18   cd ..
19   install -m 644 -D LICENSE.txt $pkgdir/usr/share/licenses/${pkgname}/LICENSE.txt || return 1
20   install -m 644 -D doc/LICENSE_110.txt $pkgdir/usr/share/licenses/${pkgname}/LICENSE_110.txt || return 1