diff options
Diffstat (limited to 'extra/lzo/PKGBUILD')
-rw-r--r-- | extra/lzo/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/extra/lzo/PKGBUILD b/extra/lzo/PKGBUILD new file mode 100644 index 000000000..f93973dba --- /dev/null +++ b/extra/lzo/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 123754 2011-05-12 20:58:30Z andrea $ +# Maintainer: +# Contributor: Low Kian Seong <fastmail_low@speedymail.org> +# Contributor: Judd Vinet <jvinet@zeroflux.org> +# Contributor: Daniel J Griffiths <ghost1227@archlinux.us> + +pkgname=lzo +pkgver=1.08 +pkgrel=6 +pkgdesc='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/lzo/download/LZO-v1/${pkgname}-${pkgver}.tar.gz" + 'nasm-gcc3.patch') +md5sums=('ab94d3da364c7cbd5b78d76f1875b0f6' + '43fb13762383b572d22152f8815ea4a5') + +build() { + cd "${srcdir}"/${pkgname}-${pkgver} + + patch -p0 -i "${srcdir}"/nasm-gcc3.patch + autoconf + ./configure --prefix=/usr --enable-shared + make +} + +package() { + cd "${srcdir}"/${pkgname}-${pkgver} + + make DESTDIR="${pkgdir}" install +} |