summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/lzo/PKGBUILD (renamed from abs/core/lzo2/PKGBUILD)23
1 files changed, 15 insertions, 8 deletions
diff --git a/abs/core/lzo2/PKGBUILD b/abs/core/lzo/PKGBUILD
index dd0c5e6..3cbf9e7 100644
--- a/abs/core/lzo2/PKGBUILD
+++ b/abs/core/lzo/PKGBUILD
@@ -1,27 +1,34 @@
-# $Id: PKGBUILD 136471 2011-08-30 06:25:43Z tpowa $
+# $Id$
# Contributor: Low Kian Seong <fastmail_low@speedymail.org>
# Maintainer: dorphell <dorphell@archlinux.org>
-pkgname=lzo2
-pkgver=2.06
-pkgrel=1
+pkgname=lzo
+pkgver=2.08
+pkgrel=3
pkgdesc="Portable lossless data compression library"
arch=('i686' 'x86_64')
url="http://www.oberhumer.com/opensource/lzo"
license=('GPL')
depends=('glibc')
+provides=("lzo2=$pkgver")
+replaces=('lzo2')
+conflicts=('lzo2')
source=(http://www.oberhumer.com/opensource/lzo/download/lzo-${pkgver}.tar.gz)
-options=(!libtool)
-md5sums=('95380bd4081f85ef08c5209f4107e9f8')
+md5sums=('fcec64c26a0f4f4901468f360029678f')
build() {
cd "${srcdir}/lzo-${pkgver}"
-
./configure --prefix=/usr --enable-shared
make
# build minilzo
gcc $CFLAGS -fpic -Iinclude/lzo -o minilzo/minilzo.o -c minilzo/minilzo.c
- gcc -g -shared -o libminilzo.so.0 -Wl,-soname,libminilzo.so.0 minilzo/minilzo.o
+ gcc $LDFLAGS -shared -o libminilzo.so.0 -Wl,-soname,libminilzo.so.0 minilzo/minilzo.o
+}
+
+check() {
+ cd "${srcdir}/lzo-${pkgver}"
+ make test # Larger test
+ make check
}
package() {