summaryrefslogtreecommitdiffstats
path: root/testing/apache-mod-backtrace/APKBUILD
blob: cc3198062bf7cb7aee09020b5574c25c9f0c82c4 (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 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
e796e84b98ad73f2420ad8ef6fc5c01b  Makefile.in"