# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
# Contributor: Low Kian Seong <fastmail_low@speedymail.org>
# Maintainer: dorphell <dorphell@archlinux.org>
pkgname=lzo2
pkgver=2.03
pkgrel=1
pkgdesc="a portable lossless data compression library written in ANSI C"
arch=(i686 x86_64)
url="http://www.oberhumer.com/opensource/lzo"
license=('GPL')
groups=('base')
depends=('glibc')
source=(http://www.oberhumer.com/opensource/lzo/download/lzo-${pkgver}.tar.gz)
options=(!libtool)

build() {
  cd ${startdir}/src/lzo-${pkgver}
  ./configure --prefix=/usr --enable-shared
  make || return 1
  make DESTDIR=${startdir}/pkg install
}
md5sums=('0c3d078c2e8ea5a88971089a2f02a726')