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


                                                           
            




                                                   
                                
                                                     
                                                                                              




                                  



                     
         



                          
                      

 
           


                                                    
                                                                                                                                                               
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Dan Theisen <djt@hxx.in>
pkgname=lz4
pkgver=1.9.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 python3"
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

# secfixes:
#   1.9.3-r0:
#     - CVE-2021-3520

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

check() {
	make -j1 check
}

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

sha512sums="c246b0bda881ee9399fa1be490fa39f43b291bb1d9db72dba8a85db1a50aad416a97e9b300eee3d2a4203c2bd88bda2762e81bc229c3aa409ad217eb306a454c  lz4-1.9.3.tar.gz"