aboutsummaryrefslogtreecommitdiffstats
path: root/testing/log4cpp/APKBUILD
blob: f94fc6b751cb23dca656fe61003e17208fcdea8c (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
36
37
38
39
40
41
42
43
# Contributor: Hidde van der Heide <hvanderheide@nexuz.net>
# Maintainer: Roberto Oliveira <robertoguimaraes8@gmail.com>
pkgname=log4cpp
pkgver=1.1.3
pkgrel=2
pkgdesc="Log library for C++"
url="http://log4cpp.sourceforge.net/"
arch="all"
license="LGPL-2.1-or-later"
subpackages="$pkgname-dev"
source="https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname"

prepare() {
	default_prepare
	update_config_guess
}

build() {
	cd "$builddir"
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--disable-dot \
		--disable-static \
		--disable-doxygen \
		--without-idsa
	make
}

check() {
	cd "$builddir"
	make check
}

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

sha512sums="88e5e10bce8d7d6421c3dcf14aa25385159c4ae52becdc1f3666ab86e1ad3f633786d82afe398c517d4faaa57b3e7b7c0b524361d81c6b9040dbded5cecc19de  log4cpp-1.1.3.tar.gz"