blob: 58707b4f76e7b85d096d855aadb819ee02fa01dd (
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
|
# $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' 'mips64el')
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 \
--build=$CHOST
make
}
package() {
cd "$srcdir/$pkgname"
make DESTDIR="$pkgdir" install
}
# vim: set ft=sh ts=2 sw=2 et:
|