aboutsummaryrefslogtreecommitdiffstats
path: root/community/webalizer/APKBUILD
blob: 45b4665811bd1a256fd6c0444591aba3e11b395e (plain) (blame)
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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=webalizer
pkgver=2.23.08
_pkgver="2.23-08"
pkgrel=8
pkgdesc="web server log file analysis program producing HTML reports"
url="https://webalizer.net/"
arch="all"
license="GPL-2.0-or-later"
makedepends="gd-dev libpng-dev zlib-dev bzip2-dev"
# site is gone, using debian source
source="$pkgname-$pkgver.tar.gz::http://ftp.debian.org/debian/pool/main/w/webalizer/webalizer_$pkgver.orig.tar.gz
fix-crash-on-memcpy.patch"
builddir="$srcdir"/$pkgname-$_pkgver

build() {
	export CFLAGS="$CFLAGS -fcommon"
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--datarootdir=/usr/share \
		--enable-bz2
	  make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
219cae51d2e938e2d9327ce52c9c814e7436c821b05cb528dc88f548bdfbd7a6ad69c235b078d6af194c3a1d38029fde7dde9e8b81ad6fd93c236ca76a49811b  webalizer-2.23.08.tar.gz
11c9573309faae32573ffdf3083f97dfeb0c1ed392ddf9b2f2914ac2c0bde87e1abf60e8e48475ad3c76115f09530fbcdaa1df90b8c66d9c3065a70f6e53595d  fix-crash-on-memcpy.patch
"