blob: 6bbed4e68e46a41b0b3696f3024669e9f7f4b9da (
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)
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
}
|