2014-04-19 08:07:06 +08:00
|
|
|
|
# Maintainer: UtG <utg[dot]chakra.linux[at]gmail[dot]com>
|
2013-12-14 12:19:05 +08:00
|
|
|
|
# Contributions from: https://aur.archlinux.org/packages/log4c/
|
|
|
|
|
|
|
|
|
|
# Maintainer: Arthur Țițeică arthur.titeica/gmail/com
|
|
|
|
|
# Contributor: rockerzz <rockerzz@gmail.com>
|
|
|
|
|
|
|
|
|
|
pkgname=log4c
|
2014-04-19 08:07:06 +08:00
|
|
|
|
pkgver=1.2.4
|
2013-12-14 12:19:05 +08:00
|
|
|
|
pkgrel=1
|
|
|
|
|
pkgdesc="Logging FrameWork for C, as Log4j or Log4Cpp"
|
|
|
|
|
url="http://log4c.sourceforge.net/"
|
|
|
|
|
arch=('x86_64')
|
|
|
|
|
license="LGPL"
|
|
|
|
|
depends=('expat')
|
|
|
|
|
options=('!libtool')
|
|
|
|
|
source=(http://prdownloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
|
2014-04-19 08:07:06 +08:00
|
|
|
|
sha256sums=('5991020192f52cc40fa852fbf6bbf5bd5db5d5d00aa9905c67f6f0eadeed48ea')
|
2013-12-14 12:19:05 +08:00
|
|
|
|
|
|
|
|
|
build() {
|
|
|
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
|
--sysconfdir=/etc/log4c
|
|
|
|
|
make
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
package() {
|
|
|
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
|
}
|