PKGBUILDs/community/rlog/PKGBUILD
2009-10-09 21:15:33 -05:00

25 lines
717 B
Bash

# Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org>
# Contributor: Sven Kauber <celeon@gmail.com>
pkgname=rlog
pkgver=1.4
pkgrel=2
pkgdesc="A flexible message logging facility for C++ programs and libraries"
arch=('i686' 'x86_64')
url="http://arg0.net/wiki/rlog"
license=('LGPL')
depends=('gcc')
options=('!libtool')
source=(http://rlog.googlecode.com/files/$pkgname-$pkgver.tar.gz \
$pkgname-section.patch)
md5sums=('c29f74e0f50d66b20312d049b683ff82'
'69644989e07ceb5c265dfc0c6f770810')
build()
{
cd $startdir/src/$pkgname-$pkgver
patch -Np1 -i $startdir/src/$pkgname-section.patch || return 1
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg/ install
}