summaryrefslogtreecommitdiff
path: root/pcr/log4c/PKGBUILD
blob: b351eb717fe7ad335cc24bd0c7c376718275458d (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
# Contributor (Arch): Arthur Țițeică arthur.titeica/gmail/com
# Contributor (Arch): rockerzz <rockerzz@gmail.com>
# Maintainer        : Omar Vega Ramos <ovruni@gnu.org.pe>

pkgname=log4c
pkgver=1.2.4
pkgrel=1
pkgdesc="Logging FrameWork for C, as Log4j or Log4Cpp"
url="http://log4c.sourceforge.net/"
arch=('i686' 'x86_64')
license="LGPL"
depends=('expat')
source=(http://prdownloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
sha256sums=('5991020192f52cc40fa852fbf6bbf5bd5db5d5d00aa9905c67f6f0eadeed48ea')
options=('!libtool')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr \
              --sysconfdir=/etc/log4c
  make
}

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