summaryrefslogtreecommitdiff
path: root/pcr/log4cxx/PKGBUILD
diff options
context:
space:
mode:
authorAurélien DESBRIÈRES <aurelien@hackers.camp>2014-06-03 19:14:48 +0200
committerAurélien DESBRIÈRES <aurelien@hackers.camp>2014-06-03 19:14:48 +0200
commit8a5fb81026577bacbab20407b3bdfb9a7d784256 (patch)
tree34214905e7a72bb94adfa1df1074ad0dbbcf4cb1 /pcr/log4cxx/PKGBUILD
parentcc3829bc56c00caae5629287584217e258c496cc (diff)
downloadabslibre-8a5fb81026577bacbab20407b3bdfb9a7d784256.tar.gz
abslibre-8a5fb81026577bacbab20407b3bdfb9a7d784256.tar.bz2
abslibre-8a5fb81026577bacbab20407b3bdfb9a7d784256.zip
log4cxx
Diffstat (limited to 'pcr/log4cxx/PKGBUILD')
-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
}