blob: 8eb151a27641f59df241efb654ea84b834223a51 (
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
26
27
28
29
30
31
32
33
34
35
36
|
# $Id: PKGBUILD 197768 2013-10-29 20:44:43Z eric $
# 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=8
pkgdesc='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')
source=("http://www.oberhumer.com/opensource/lzo/download/LZO-v1/${pkgname}-${pkgver}.tar.gz"
'nasm-gcc3.patch')
md5sums=('ab94d3da364c7cbd5b78d76f1875b0f6'
'43fb13762383b572d22152f8815ea4a5')
prepare() {
cd ${pkgname}-${pkgver}
patch -p0 -i "${srcdir}"/nasm-gcc3.patch
}
build() {
cd ${pkgname}-${pkgver}
autoconf
./configure --prefix=/usr --enable-shared --build=$CHOST
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
}
|