aboutsummaryrefslogtreecommitdiffstats
path: root/testing/log4cpp
diff options
context:
space:
mode:
authorHidde van der Heide <hvanderheide@nexuz.net>2018-07-15 00:33:03 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-09-04 20:21:57 +0000
commit6d2a143c16dfb2e92fb6a5bc4ed708dab0ed6e15 (patch)
tree52dfb593d2cf2e63d01f6e11fcae75780493a6e3 /testing/log4cpp
parent3f980f5c01b49d5c4c7763d24ab8beabc0c6dca4 (diff)
downloadaports-6d2a143c16dfb2e92fb6a5bc4ed708dab0ed6e15.tar.bz2
aports-6d2a143c16dfb2e92fb6a5bc4ed708dab0ed6e15.tar.xz
testing/log4cpp: new aport
http://log4cpp.sourceforge.net Log for C++ is a library of C++ classes for flexible logging to files, syslog and other destinations. It is modeled after the Log for Java library (http://jakarta.apache.org/log4j/), staying as close to their API as is reasonable.
Diffstat (limited to 'testing/log4cpp')
-rw-r--r--testing/log4cpp/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/log4cpp/APKBUILD b/testing/log4cpp/APKBUILD
new file mode 100644
index 0000000000..f349dc5436
--- /dev/null
+++ b/testing/log4cpp/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Hidde van der Heide <hvanderheide@nexuz.net>
+# Maintainer:
+pkgname=log4cpp
+pkgver=1.1.3
+pkgrel=0
+pkgdesc="Log for C++, modeled after Log4j."
+url="http://log4cpp.sourceforge.net/"
+arch="all"
+license="LGPL-2.1-or-later"
+depends=""
+makedepends=""
+install=""
+subpackages="$pkgname-dev"
+source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
+builddir="$srcdir/"
+
+build() {
+ cd "$builddir/$pkgname"
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --disable-dot \
+ --disable-static \
+ --disable-doxygen \
+ --without-idsa
+ make
+}
+
+check() {
+ cd "$builddir/$pkgname"
+ make check
+}
+
+package() {
+ cd "$builddir/$pkgname"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="88e5e10bce8d7d6421c3dcf14aa25385159c4ae52becdc1f3666ab86e1ad3f633786d82afe398c517d4faaa57b3e7b7c0b524361d81c6b9040dbded5cecc19de log4cpp-1.1.3.tar.gz"