summaryrefslogtreecommitdiff
path: root/extra/lzo/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/lzo/PKGBUILD')
-rw-r--r--extra/lzo/PKGBUILD23
1 files changed, 12 insertions, 11 deletions
diff --git a/extra/lzo/PKGBUILD b/extra/lzo/PKGBUILD
index db181a0e0..8eb151a27 100644
--- a/extra/lzo/PKGBUILD
+++ b/extra/lzo/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 150589 2012-02-18 15:59:31Z pierre $
+# $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>
@@ -6,30 +6,31 @@
pkgname=lzo
pkgver=1.08
-pkgrel=7
+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')
-options=('!libtool')
source=("http://www.oberhumer.com/opensource/lzo/download/LZO-v1/${pkgname}-${pkgver}.tar.gz"
'nasm-gcc3.patch')
md5sums=('ab94d3da364c7cbd5b78d76f1875b0f6'
'43fb13762383b572d22152f8815ea4a5')
-build() {
- cd "${srcdir}"/${pkgname}-${pkgver}
+prepare() {
+ cd ${pkgname}-${pkgver}
+ patch -p0 -i "${srcdir}"/nasm-gcc3.patch
+}
- patch -p0 -i "${srcdir}"/nasm-gcc3.patch
- autoconf
+build() {
+ cd ${pkgname}-${pkgver}
+ autoconf
./configure --prefix=/usr --enable-shared --build=$CHOST
- make
+ make
}
package() {
- cd "${srcdir}"/${pkgname}-${pkgver}
-
- make DESTDIR="${pkgdir}" install
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
}