summaryrefslogtreecommitdiffstats
path: root/testing/apache-mod-backtrace/APKBUILD
blob: e4f9086339dd35fcdd65a782df3ebaadf618ee3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Contributor: Matt Smith <mcs@darkregion.net>
# Maintainer: Matt Smith <mcs@darkregion.net>
pkgname=apache-mod-backtrace
pkgver=0
pkgrel=1
pkgdesc="A module which uses system functions to format a backtrace to show what code did the dirty deed."
url="http://people.apache.org/~trawick/exception_hook.html"
arch="all"
license="Apache2.0"
depends="apache2"
makedepends="apache2-dev apr-dev libexecinfo autoconf"
install=
subpackages=
source="http://people.apache.org/~trawick/mod_backtrace.c
	configure.in
	Makefile.in"

build() {
	cd "$srcdir"
	autoconf
	./configure
	make DESTDIR="$pkgdir" || return 1
}

package() {
	cd "$srcdir"
	install -D -m755 "$srcdir"/.libs/mod_backtrace.so "$pkgdir"/usr/lib/apache2/mod_backtrace.so
}

md5sums="cd5361da31b3c1401e29ccb6e5220f6b  mod_backtrace.c
623409fd18dea63d6da509f2818491ef  configure.in
8034836d7eae8094443702302a0dc6ab  Makefile.in"