aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2018-09-09 09:37:21 +0000
committerRoberto Oliveira <robertoguimaraes8@gmail.com>2018-09-09 09:40:00 +0000
commit47e318cd8a4339131aa251d282e2fa74a9020356 (patch)
tree87110f7c97d014d13eef1d0af1d6adcfb8eddf35 /testing
parent30bfc63d933e74c6ba965bb7e26c78bd47ab4344 (diff)
downloadaports-47e318cd8a4339131aa251d282e2fa74a9020356.tar.bz2
aports-47e318cd8a4339131aa251d282e2fa74a9020356.tar.xz
testing/log4cpp: modernize and take maintainership
Diffstat (limited to 'testing')
-rw-r--r--testing/log4cpp/APKBUILD23
1 files changed, 12 insertions, 11 deletions
diff --git a/testing/log4cpp/APKBUILD b/testing/log4cpp/APKBUILD
index fcfc6b385c..b9cfa8999c 100644
--- a/testing/log4cpp/APKBUILD
+++ b/testing/log4cpp/APKBUILD
@@ -1,22 +1,23 @@
# Contributor: Hidde van der Heide <hvanderheide@nexuz.net>
-# Maintainer:
+# Maintainer: Roberto Oliveira <robertoguimaraes8@gmail.com>
pkgname=log4cpp
pkgver=1.1.3
-pkgrel=1
-pkgdesc="Log for C++, modeled after Log4j."
+pkgrel=2
+pkgdesc="Log library for C++"
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/"
+builddir="$srcdir/$pkgname"
-build() {
- cd "$builddir/$pkgname"
+prepare() {
+ default_prepare
update_config_guess
+}
+
+build() {
+ cd "$builddir"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
@@ -30,12 +31,12 @@ build() {
}
check() {
- cd "$builddir/$pkgname"
+ cd "$builddir"
make check
}
package() {
- cd "$builddir/$pkgname"
+ cd "$builddir"
make DESTDIR="$pkgdir" install
}