mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
25 lines
848 B
Bash
25 lines
848 B
Bash
# $Id: PKGBUILD 37201 2009-05-01 03:40:39Z 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
|
|
}
|