summaryrefslogblamecommitdiff
path: root/system/lz4/APKBUILD
blob: 281c3248c004c4e6639090e1be375331c02ae685 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                                           
            





                                                   
                                                     
                                                                                              





                                  



                          


                 
           


                                                    
                                                                                                                                                               
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Dan Theisen <djt@hxx.in>
pkgname=lz4
pkgver=1.9.1
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"
source="$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz"

case "$CARCH" in
armhf) options="!check" ;; # FIXME
esac

build() {
	make PREFIX="/usr"
}

check() {
	make test
}

package() {
	make PREFIX="/usr" DESTDIR="$pkgdir" install
}

sha512sums="536cdeb6dd73b4769cf9501ad312b004ab01699758534b47ca2eddbc815fd374a3caba40cde36f73a7a70e134065836b733e2b0c023c31740b877ef9317ccf3e  lz4-1.9.1.tar.gz"