summaryrefslogtreecommitdiff
path: root/community/log4cpp/PKGBUILD
blob: 7db5c99306ffc518a4c66e3828f292833991e5d6 (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
# $Id: PKGBUILD 102767 2013-12-19 14:04:47Z stativ $
# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
# Contributor : Geraud Le Falher <daureg@gmail.com>

pkgname=log4cpp
pkgver=1.1.1
pkgrel=1
pkgdesc="A library of C++ classes for flexible logging to files, syslog, IDSA and other destinations."
arch=('i686' 'x86_64')
url="http://log4cpp.sourceforge.net/"
license=('LGPL')
depends=('gcc-libs')
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('1e173df8ee97205f412ff84aa93b8fbe')

build() {
	cd "$srcdir/$pkgname"
  export CXXFLAGS="$CXXFLAGS -lpthread"
  ./configure --prefix=/usr --disable-doxygen --disable-dot --without-idsa
	make
}

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

# vim: set ft=sh ts=2 sw=2 et: