blob: 4959bfb5cf8d1b33e3836885742aa0d926b80a43 (
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
44
45
46
47
48
49
50
51
52
53
54
55
|
# Contributor:
# Maintainer:
pkgname=log4cplus
pkgver=2.0.4
pkgrel=0
_ver=${pkgver%%_rc*}
_rc=${pkgver##*_rc}
[ "$_rc" = "$pkgver" ] || _ver="${_ver}-rc$_rc"
pkgdesc="Logging Framework for C++"
url="https://sourceforge.net/p/log4cplus/wiki/Home/"
# tests/testsuite.dir/58/testsuite.log
# 4 ./appender_test.at:5: "${abs_top_builddir}/appender_test" 2>&1
# 5 Aborted (core dumped)
arch="all !armhf !armv7" # test 50 dumps core
license="Apache-2.0"
depends=""
depends_dev=""
checkdepends="findutils"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev"
source="https://downloads.sourceforge.net/$pkgname/$pkgname-$_ver.tar.xz"
builddir="$srcdir/$pkgname-$_ver"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--disable-implicit-initialization \
--with-working-c-locale
make
}
_cat_found_file() {
local _rc="$?"
find -name "$1" -type f -ls -printf '%P {{{\n' -exec cat -v -n '{}' ';' -printf '}}} %P\n'
return "$_rc"
}
check() {
cd "$builddir"
make check || _cat_found_file testsuite.log
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="4bb5a5475b8cae599d24f99f71beaadfdba19ce7d20ac0a4c43ed5b2634aebfd503b253bfc53df912b0bf5b6d8aad8f1f488436ea9bccecdd048ca0bcf2ce9d4 log4cplus-2.0.4.tar.xz"
|