summaryrefslogtreecommitdiff
path: root/pcr/log4c/PKGBUILD
blob: 4bee1d1294930cc4a9d260d9cca5325c8a9d3054 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Contributor (Arch): rockerzz <rockerzz@gmail.com>
#
pkgname=log4c
pkgver=1.2.1
pkgrel=1
pkgdesc="Logging FrameWork for C, as Log4j or Log4Cpp"
url="http://log4c.sourceforge.net/"
arch=('i686' 'x86_64')
license="LGPL"
depends=('gcc-libs')
makedepends=( 'bash' 'make' 'gcc' )
source=(http://prdownloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('ca5412b7515d8901714ab7892323adb6')
options=('!libtool')

build() {
  cd $startdir/src/log4c-$pkgver
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=$startdir/pkg install
}