APKBUILD 865 Bytes
Newer Older
1
2
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
3
pkgname=webalizer
4
5
pkgver=2.23.08
_pkgver="2.23-08"
6
7
pkgrel=5
pkgdesc="web server log file analysis program producing HTML reports"
8
url="http://www.webalizer.org/"
9
arch="" # source site/ftp gone
10
11
12
13
14
license="GPL-2.0-or-later"
makedepends="gd-dev libpng-dev zlib-dev bzip2-dev"
source="$pkgname-$pkgver.tar.bz2::ftp://ftp.mrunix.net/pub/webalizer/webalizer-$_pkgver-src.tar.bz2"
builddir="$srcdir"/$pkgname-$_pkgver

15
16
17
18
19
20
build() {
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--datarootdir=/usr/share \
		--enable-bz2
21
	  make
22
23
24
}

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

28
sha512sums="23fe6e3ef1c85aa527ffafef16c31c13ad8e1f9feb774557c07a5c8fd6c67986b98180ef16d6cebe62d59c5f7ca214b8292e94ce8f195fa0541de9c5438fb9bd  webalizer-2.23.08.tar.bz2"