# Contributor: # Maintainer: pkgname=log4cplus pkgver=2.0.3 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/" arch="all" license="Apache-2.0" depends="" depends_dev="" 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 \ --with-working-c-locale make } check() { cd "$builddir" make check } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="94e890f61c752025bed33eca1c4be0ab3d0d8d2779e291c94b2868f36547a2573dda809beb57933c7184b413c371bd18dda8dd7a2ee339754c20c6456514d5c4 log4cplus-2.0.3.tar.xz"