# $Id: PKGBUILD 37201 2009-05-01 03:40:39Z eric $ # Contributor: Low Kian Seong # Maintainer: Judd Vinet pkgname=lzo pkgver=1.08 pkgrel=5 pkgdesc="LZO is a portable lossless data compression library written in ANSI C" arch=(i686 x86_64) license=('GPL') url="http://www.oberhumer.com/opensource/lzo" depends=('glibc') makedepends=('nasm') options=('!libtool') source=(http://www.oberhumer.com/opensource/${pkgname}/download/${pkgname}-${pkgver}.tar.gz nasm-gcc3.patch) md5sums=('ab94d3da364c7cbd5b78d76f1875b0f6' '43fb13762383b572d22152f8815ea4a5') build() { cd ${srcdir}/${pkgname}-${pkgver} patch -Np0 -i ${srcdir}/nasm-gcc3.patch || return 1 autoconf || return 1 ./configure --prefix=/usr --enable-shared || return 1 make || return 1 make DESTDIR=${pkgdir} install || return 1 }