PKGBUILDs/community/apache13-mod_bandwidth/PKGBUILD
2009-10-09 21:15:33 -05:00

28 lines
1,022 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=apache13-mod_bandwidth
pkgver=2.1
pkgrel=1
pkgdesc="bandwidth module for apache 1 branch"
arch=(i686 x86_64)
url="http://www.cohprog.com/mod_bandwidth.html"
license=("GPL")
depends=(apache13)
source=(ftp://ftp.cohprog.com/pub/apache/module/1.3.0/mod_bandwidth.c \
README \
README.1st)
md5sums=('8bab2b9c978072f63a0ca64e1d0f83e5'
'd1e9a6ebb149008d8beff56fb0160615'
'4d6b408362804ea2290aa986b87ac919')
build() {
cd $startdir/src/
/usr/sbin/apxs13 -c -o mod_bandwidth.so mod_bandwidth.c || return 1
install -d -m 0755 $startdir/pkg/usr/lib/apache13 && \
install -m 0755 mod_bandwidth.so $startdir/pkg/usr/lib/apache13 && \
install -d -m 0755 $startdir/pkg/usr/share/mod_bandwidth && \
install -m 0644 README $startdir/pkg/usr/share/mod_bandwidth && \
install -m 0644 README.1st $startdir/pkg/usr/share/mod_bandwidth
}