summaryrefslogtreecommitdiff
path: root/pcr/log4cxx/PKGBUILD
blob: 6c060d3af813de206f816c74e33e2bb65e891c82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Contributor: ?
# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES <aurelien@hackers.camp>

pkgname=log4cxx
pkgver=0.10.0
pkgrel=3.1
pkgdesc="A C++ port of Log4j"
url="http://logging.apache.org/log4cxx"
license="APACHE"
depends=('apr-util' 'libxml2')
arch=('i686' 'x86_64' 'mips64el')
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 "$srcdir/apache-$pkgname-$pkgver"

  patch -p1 < $startdir/log4cxx-0.10.0-missing_includes.patch

  ./configure --prefix=/usr --disable-static
  make
}

package() {
  cd "$srcdir/apache-$pkgname-$pkgver"
  make DESTDIR="$pkgdir/" install
}