diff options
Diffstat (limited to 'extra/lzo/PKGBUILD')
-rw-r--r-- | extra/lzo/PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/extra/lzo/PKGBUILD b/extra/lzo/PKGBUILD new file mode 100644 index 000000000..6bbed4e68 --- /dev/null +++ b/extra/lzo/PKGBUILD @@ -0,0 +1,25 @@ +# $Id: PKGBUILD 37199 2009-05-01 03:25:47Z eric $ +# Contributor: Low Kian Seong <fastmail_low@speedymail.org> +# Maintainer: Judd Vinet <jvinet@zeroflux.org> +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 +} |