summaryrefslogtreecommitdiff
path: root/community/rlog/PKGBUILD
blob: d9fa865d71e3914120079bf31a848ea4673d55fa (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
# Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org>
# Contributor: Sven Kauber <celeon@gmail.com>

pkgname=rlog
pkgver=1.4
pkgrel=3
pkgdesc="A flexible message logging facility for C++ programs and libraries"
arch=('i686' 'x86_64' 'mips64el')
url="http://arg0.net/wiki/rlog"
license=('LGPL')
depends=('gcc-libs')
options=('!libtool')
source=(http://rlog.googlecode.com/files/$pkgname-$pkgver.tar.gz \
	$pkgname-section.patch)
md5sums=('c29f74e0f50d66b20312d049b683ff82'
         '69644989e07ceb5c265dfc0c6f770810')

build()
{
   cd $srcdir/$pkgname-$pkgver
   patch -Np1 -i $srcdir/$pkgname-section.patch || return 1
   ./configure --prefix=/usr
   make || return 1
   make DESTDIR=$pkgdir/ install
}