aboutsummaryrefslogtreecommitdiffstats
path: root/testing/webalizer/APKBUILD
blob: 8c894bb565bdd851c32f9e70ab95ed56a9d08151 (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
33
34
35
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=webalizer
pkgver=2.23.08
_pkgver="2.23-08"
pkgrel=4
pkgdesc="A web server log file analysis program producing HTML reports"
url="http://www.webalizer.org/"
arch="all"
license="GPL"
depends=""
depends_dev=""
makedepends="$depends_dev db-dev gd-dev libpng-dev zlib-dev bzip2-dev"
install=""
subpackages=""
source="saveas-ftp://ftp.mrunix.net/pub/webalizer/webalizer-$_pkgver-src.tar.bz2/webalizer-$pkgver.tar.bz2"
_builddir="$srcdir"/$pkgname-$_pkgver
build() {
	cd "$_builddir"
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--datarootdir=/usr/share \
		--enable-bz2
	  make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="${pkgdir}" install || return 1
}

md5sums="d25a9715dcbfe67ddf86816c27fbda2b  webalizer-2.23.08.tar.bz2"
sha256sums="b37524fbd98e97052a80d59f75e69f857468752cf74cc0eb0972e5fab02eb6f7  webalizer-2.23.08.tar.bz2"
sha512sums="23fe6e3ef1c85aa527ffafef16c31c13ad8e1f9feb774557c07a5c8fd6c67986b98180ef16d6cebe62d59c5f7ca214b8292e94ce8f195fa0541de9c5438fb9bd  webalizer-2.23.08.tar.bz2"