commit 02c817fbc21f5e8384a8492859c053410b7e2a01 parent 151869e1fc748b91aa9e85c3a8d90733a690bc3a Author: aabacchus <ben@bvnf.space> Date: Sat, 15 May 2021 23:24:00 +0100 log4cxx: bump to 0.12.0; build requires cmake Diffstat:
M | log4cxx/build | | | 17 | +++++++++++++---- |
M | log4cxx/checksums | | | 2 | +- |
M | log4cxx/depends | | | 1 | + |
M | log4cxx/sources | | | 2 | +- |
M | log4cxx/version | | | 2 | +- |
5 files changed, 17 insertions(+), 7 deletions(-)
diff --git a/log4cxx/build b/log4cxx/build @@ -1,6 +1,15 @@ #!/bin/sh -e -./autogen.sh -./configure --prefix=/usr -make -make DESTDIR="$1" install +export DESTDIR="$1" +cmake -B build \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_TESTING=off + +cmake --build build +cmake --install build + +# correct location of cmake and pkgconfig files +mv "$1/usr/share/cmake" "$1/usr/share/pkgconfig" \ + "$1/usr/lib/" +rmdir "$1/usr/share/" diff --git a/log4cxx/checksums b/log4cxx/checksums @@ -1 +1 @@ -c316705ee3c4e5b919d3561d5f305162d21687aa6ae1f31f02f6cdadc958b393 +bd5b5009ca914c8fa7944b92ea6b4ca6fb7d146f65d526f21bf8b3c6a0520e44 diff --git a/log4cxx/depends b/log4cxx/depends @@ -1,4 +1,5 @@ apr apr-util +cmake make expat util-linux diff --git a/log4cxx/sources b/log4cxx/sources @@ -1 +1 @@ -https://apache.mirrors.nublue.co.uk/logging/log4cxx/0.11.0/apache-log4cxx-0.11.0.tar.gz +https://apache.mirrors.nublue.co.uk/logging/log4cxx/0.12.0/apache-log4cxx-0.12.0.tar.gz diff --git a/log4cxx/version b/log4cxx/version @@ -1 +1 @@ -0.11.0 1 +0.12.0 1