From 5d461e3b3907cee08c252f690a0f52cf348b6b10 Mon Sep 17 00:00:00 2001 From: tcely Date: Mon, 22 Jan 2018 19:28:54 -0500 Subject: testing/log4cplus: new aport http://log4cplus.sourceforge.net/ Logging Framework for C++ --- testing/log4cplus/APKBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 testing/log4cplus/APKBUILD (limited to 'testing') diff --git a/testing/log4cplus/APKBUILD b/testing/log4cplus/APKBUILD new file mode 100644 index 0000000000..a8add09371 --- /dev/null +++ b/testing/log4cplus/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: +# Maintainer: +pkgname=log4cplus +pkgver=1.2.1_rc2 +pkgrel=0 +_ver=${pkgver%%_rc*} +_rc=${pkgver##*_rc} +[ "$_rc" != "$pkgver" ] && _ver="${_ver}-rc$_rc" +pkgdesc="Logging Framework for C++" +url="http://log4cplus.sourceforge.net/" +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.gz" +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 \ + --enable-unit-tests + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="7a78c231415cd040eaaf9e2e921b3f177f0336e3fb3e4c5282395d248631e77c0cff9b96f74870e6f96423a097d08f4bc90da764724af9b6660560663d81e988 log4cplus-1.2.1-rc2.tar.gz" -- cgit v1.2.3