summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/log4cxx/PKGBUILD17
1 files changed, 11 insertions, 6 deletions
diff --git a/pcr/log4cxx/PKGBUILD b/pcr/log4cxx/PKGBUILD
index c77813e56..85cb7f551 100644
--- a/pcr/log4cxx/PKGBUILD
+++ b/pcr/log4cxx/PKGBUILD
@@ -1,6 +1,9 @@
+# Contributor: ?
+# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES <aurelien@hackers.camp>
+
pkgname=log4cxx
pkgver=0.10.0
-pkgrel=2
+pkgrel=3
pkgdesc="A C++ port of Log4j"
url="http://logging.apache.org/log4cxx"
license="APACHE"
@@ -10,15 +13,17 @@ makedepends=('autoconf' 'automake' 'libtool' 'patch' 'zip' 'gzip' 'sed')
source=(http://archive.apache.org/dist/logging/$pkgname/$pkgver/apache-$pkgname-$pkgver.tar.gz
log4cxx-0.10.0-missing_includes.patch)
-md5sums=('b30ffb8da3665178e68940ff7a61084c'
- 'dfa17719a57b19f12cbef94419a2aac8')
build() {
- cd $startdir/src/apache-$pkgname-$pkgver
+ cd "$srcdir/apache-$pkgname-$pkgver"
patch -p1 < $startdir/log4cxx-0.10.0-missing_includes.patch
./configure --prefix=/usr --disable-static
- make || return 1
- make DESTDIR=$startdir/pkg install
+ make
+}
+
+package() {
+ cd "$srcdir/apache-$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
}