updated on Wed Jan 11 08:01:35 UTC 2012
[aur-mirror.git] / apache13-mod_bandwidth / PKGBUILD
blob12a2c564c056e844a77a442a384a6158bb89baa5
1 # $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
2 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
3 # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
5 pkgname=apache13-mod_bandwidth
6 pkgver=2.1
7 pkgrel=1
8 pkgdesc="bandwidth module for apache 1 branch"
9 arch=(i686 x86_64)
10 url="http://www.cohprog.com/mod_bandwidth.html"
11 license=("GPL")
12 depends=(apache13)
13 source=(ftp://ftp.cohprog.com/pub/apache/module/1.3.0/mod_bandwidth.c \
14                 README \
15                 README.1st)
16 md5sums=('8bab2b9c978072f63a0ca64e1d0f83e5'
17          'd1e9a6ebb149008d8beff56fb0160615'
18          '4d6b408362804ea2290aa986b87ac919')
20 build() {
21   cd $startdir/src/
22   /usr/sbin/apxs13 -c -o mod_bandwidth.so mod_bandwidth.c || return 1
23   install -d -m 0755 $startdir/pkg/usr/lib/apache13 && \
24   install -m 0755 mod_bandwidth.so $startdir/pkg/usr/lib/apache13 && \
25   install -d -m 0755 $startdir/pkg/usr/share/mod_bandwidth && \
26   install -m 0644 README $startdir/pkg/usr/share/mod_bandwidth && \
27   install -m 0644 README.1st $startdir/pkg/usr/share/mod_bandwidth