aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authortcely <tcely@users.noreply.github.com>2018-01-22 19:28:54 -0500
committerNatanael Copa <ncopa@alpinelinux.org>2018-03-07 09:31:40 +0000
commit5d461e3b3907cee08c252f690a0f52cf348b6b10 (patch)
tree9f8f5622fecda4cd4ea8848ff03b69e4ae0de221 /testing
parent041b16ada63b9fdf4e74bff19f755bac9fd223fe (diff)
downloadaports-5d461e3b3907cee08c252f690a0f52cf348b6b10.tar.bz2
aports-5d461e3b3907cee08c252f690a0f52cf348b6b10.tar.xz
testing/log4cplus: new aport
http://log4cplus.sourceforge.net/ Logging Framework for C++
Diffstat (limited to 'testing')
-rw-r--r--testing/log4cplus/APKBUILD45
1 files changed, 45 insertions, 0 deletions
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"