aboutsummaryrefslogtreecommitdiffstats
path: root/main/lzo
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-08-18 05:54:08 +0000
committerTimo Teräs <timo.teras@iki.fi>2017-08-28 08:40:51 +0000
commitc71c25237869127bd67d2f3336424358d1e3a4f5 (patch)
tree9d543b674d3c941d957d8ce779411985f799cd11 /main/lzo
parentc0c37e8b26da2f5355b11fc770c380196b0df11f (diff)
downloadaports-c71c25237869127bd67d2f3336424358d1e3a4f5.tar.bz2
aports-c71c25237869127bd67d2f3336424358d1e3a4f5.tar.xz
main/lzo: modernise, add test suite
Diffstat (limited to 'main/lzo')
-rw-r--r--main/lzo/APKBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/main/lzo/APKBUILD b/main/lzo/APKBUILD
index 665015fccb..abaf49094d 100644
--- a/main/lzo/APKBUILD
+++ b/main/lzo/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=lzo
pkgver=2.10
-pkgrel=0
+pkgrel=1
pkgdesc="LZO -- a real-time data compression library"
url="http://www.oberhumer.com/opensource/lzo"
arch="all"
@@ -24,14 +24,18 @@ build() {
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --enable-shared \
- || return 1
- make || return 1
+ --enable-shared
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
}
sha512sums="a3dae5e4a6b93b1f5bf7435e8ab114a9be57252e9efc5dd444947d7a2d031b0819f34bcaeb35f60b5629a01b1238d738735a64db8f672be9690d3c80094511a4 lzo-2.10.tar.gz"