summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-03-08 02:49:57 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-03-08 02:49:57 +0000
commit981e4422f6c0347a682ac13e1ae5c1f0f8d889a6 (patch)
tree244968585d446e075e493ead0c4011665b482528 /system
parent3c99fa62f9dd8979d8d9d15095e9111205c5649d (diff)
downloadpackages-981e4422f6c0347a682ac13e1ae5c1f0f8d889a6.tar.gz
packages-981e4422f6c0347a682ac13e1ae5c1f0f8d889a6.tar.bz2
packages-981e4422f6c0347a682ac13e1ae5c1f0f8d889a6.tar.xz
packages-981e4422f6c0347a682ac13e1ae5c1f0f8d889a6.zip
system/lz4: bump to 1.8.3, modernise
Diffstat (limited to 'system')
-rw-r--r--system/lz4/APKBUILD17
1 files changed, 3 insertions, 14 deletions
diff --git a/system/lz4/APKBUILD b/system/lz4/APKBUILD
index 5d46c4933..b7c8a56b7 100644
--- a/system/lz4/APKBUILD
+++ b/system/lz4/APKBUILD
@@ -1,41 +1,30 @@
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Dan Theisen <djt@hxx.in>
pkgname=lz4
-pkgver=1.8.2
+pkgver=1.8.3
pkgrel=0
pkgdesc="LZ4: Extremely Fast Compression algorithm"
url="https://github.com/lz4/lz4"
arch="all"
license="BSD-2-Clause GPL-2.0-only"
checkdepends="diffutils"
-subpackages="$pkgname-dev $pkgname-doc $pkgname-libs $pkgname-tests:tests"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
source="$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz"
-builddir="$srcdir"/$pkgname-$pkgver
case "$CARCH" in
armhf) options="!check" ;; # FIXME
esac
build() {
- cd "$builddir"
make PREFIX="/usr"
}
check() {
- cd "$builddir"
make test
}
-tests() {
- cd "$builddir"/tests
- mkdir -p "$subpkgdir"/usr/share/$pkgname
- rm -f *.c COPYING Makefile .gitignore
- cp -rf "$builddir"/tests "$subpkgdir"/usr/share/$pkgname
-}
-
package() {
- cd "$builddir"
make PREFIX="/usr" DESTDIR="$pkgdir" install
}
-sha512sums="5fadc79334d37739c947d6dfc24f48ce82989fc5ee4f2bb8201ccf7ee3230b9e6e7c8488beb64050a035369f4247161d258bdb539578bec224ccebfef1b8a763 lz4-1.8.2.tar.gz"
+sha512sums="5d284f75a0c4ad11ebc4abb4394d98c863436da0718d62f648ef2e2cda8e5adf47617a4b43594375f7b0b673541a9ccfaf73880a55fd240986594558214dbf9f lz4-1.8.3.tar.gz"