blob: eef9fa8f27c86cc70559cec02b9df89f648c059d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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 'mips64el')
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
}
|