APKBUILD 789 Bytes
Newer Older
1 2 3
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=lz4
A. Klitzing's avatar
A. Klitzing committed
4
pkgver=1.7.5
5 6
pkgrel=0
pkgdesc="LZ4 is lossless compression algorithm with fast decoder @ multiple GB/s per core."
A. Klitzing's avatar
A. Klitzing committed
7
url="https://github.com/lz4/lz4"
8
arch="all"
A. Klitzing's avatar
A. Klitzing committed
9 10 11 12
license="BSD"
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
source="$pkgname-$pkgver.tar.gz::https://github.com/lz4/lz4/archive/v$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver
13 14

build() {
A. Klitzing's avatar
A. Klitzing committed
15 16
	cd "$builddir"
	make PREFIX="/usr" || return 1
17 18 19
}

package() {
A. Klitzing's avatar
A. Klitzing committed
20 21
	cd "$builddir"
	make PREFIX="/usr" DESTDIR="$pkgdir" install || return 1
22 23
}

A. Klitzing's avatar
A. Klitzing committed
24
sha512sums="b4e5b17fe06805e676608e636a45f0b480b79a02c6b7ffce84dc4d607861cb2652b2852493ab9d9249e7caeae6f00b6834801fdc39f58d901cbc1c7347915295  lz4-1.7.5.tar.gz"