diff options
author | root <root@rshg054.dnsready.net> | 2013-10-31 01:12:24 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-10-31 01:12:24 -0700 |
commit | b2a6f1b28b7fa31088cab9a90b0f5ab97948534d (patch) | |
tree | afa7b467e44b704b69c66862852a8c3118b8e308 /core/lzo2/PKGBUILD | |
parent | 7c151ac5589d3dbef5972f69a62b847ecf565bfa (diff) |
Thu Oct 31 01:09:50 PDT 2013
Diffstat (limited to 'core/lzo2/PKGBUILD')
-rw-r--r-- | core/lzo2/PKGBUILD | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/core/lzo2/PKGBUILD b/core/lzo2/PKGBUILD index dd0c5e65b..69da4de16 100644 --- a/core/lzo2/PKGBUILD +++ b/core/lzo2/PKGBUILD @@ -1,16 +1,15 @@ -# $Id: PKGBUILD 136471 2011-08-30 06:25:43Z tpowa $ +# $Id: PKGBUILD 197831 2013-10-30 11:05:49Z allan $ # Contributor: Low Kian Seong <fastmail_low@speedymail.org> # Maintainer: dorphell <dorphell@archlinux.org> pkgname=lzo2 pkgver=2.06 -pkgrel=1 +pkgrel=3 pkgdesc="Portable lossless data compression library" arch=('i686' 'x86_64') url="http://www.oberhumer.com/opensource/lzo" license=('GPL') depends=('glibc') source=(http://www.oberhumer.com/opensource/lzo/download/lzo-${pkgver}.tar.gz) -options=(!libtool) md5sums=('95380bd4081f85ef08c5209f4107e9f8') build() { @@ -21,7 +20,13 @@ build() { # 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() { |