summaryrefslogblamecommitdiff
path: root/system/lz4/APKBUILD
blob: 3911e26f403f6fa7380b269f7b0226a0811110cd (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.4
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

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

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

check() {
	make check
}

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

sha512sums="043a9acb2417624019d73db140d83b80f1d7c43a6fd5be839193d68df8fd0b3f610d7ed4d628c2a9184f7cde9a0fd1ba9d075d8251298e3eb4b3a77f52736684  lz4-1.9.4.tar.gz"