# Contributor: 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
}