aboutsummaryrefslogtreecommitdiffstats
path: root/testing/log4cpp/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/log4cpp/APKBUILD')
-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
}