aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-09-14 08:13:34 -0300
committerFrancesco Colista <fcolista@alpinelinux.org>2020-09-15 10:01:26 +0000
commit7113881cab8e05fadc4c42f2cae9f14b1aff20cf (patch)
tree73da8c423e5620831965c829f13a7134a43e8ca4
parent873bcedf21bfd5d1d2a1d24580b66926f0623926 (diff)
downloadaports-7113881cab8e05fadc4c42f2cae9f14b1aff20cf.tar.gz
aports-7113881cab8e05fadc4c42f2cae9f14b1aff20cf.tar.bz2
aports-7113881cab8e05fadc4c42f2cae9f14b1aff20cf.tar.xz
community/webalizer: modernize, disable bdb
-rw-r--r--community/webalizer/APKBUILD22
1 files changed, 9 insertions, 13 deletions
diff --git a/community/webalizer/APKBUILD b/community/webalizer/APKBUILD
index 3ddaf4b3e4..6c07390e36 100644
--- a/community/webalizer/APKBUILD
+++ b/community/webalizer/APKBUILD
@@ -3,30 +3,26 @@
pkgname=webalizer
pkgver=2.23.08
_pkgver="2.23-08"
-pkgrel=4
-pkgdesc="A web server log file analysis program producing HTML reports"
+pkgrel=5
+pkgdesc="web server log file analysis program producing HTML reports"
url="http://www.webalizer.org/"
arch="all"
-license="GPL"
-depends=""
-makedepends="db-dev gd-dev libpng-dev zlib-dev bzip2-dev"
-install=""
-subpackages=""
-source="$pkgname-$pkgver.tar.bz2::ftp://ftp.mrunix.net/pub/webalizer/$pkgname-$_pkgver-src.tar.bz2"
-_builddir="$srcdir"/$pkgname-$_pkgver
+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
+
build() {
- cd "$_builddir"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--datarootdir=/usr/share \
--enable-bz2
- make || return 1
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="${pkgdir}" install || return 1
+ make DESTDIR="$pkgdir" install
}
sha512sums="23fe6e3ef1c85aa527ffafef16c31c13ad8e1f9feb774557c07a5c8fd6c67986b98180ef16d6cebe62d59c5f7ca214b8292e94ce8f195fa0541de9c5438fb9bd webalizer-2.23.08.tar.bz2"