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

         









                                        



                  


                                    
                                                                                                                                                               
# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer: Dan Theisen <djt@hxx.in>
pkgname=lzip
pkgver=1.21
pkgrel=0
pkgdesc="Lossless data compressor"
url="https://www.nongnu.org/lzip/lzip.html"
arch="all"
license="GPL-2.0+"
subpackages="$pkgname-doc"
source="https://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar.gz"

build() {
	./configure \
		--prefix=/usr \
		CXX="${CXX-g++}" \
		CPPFLAGS="${CPPFLAGS}" \
		CXXFLAGS="${CXXFLAGS}" \
		LDFLAGS="${LDFLAGS}"
        make
}

check() {
	make check
}

package() {
	make DESTDIR=$pkgdir install
}

sha512sums="02e31a8fc9431e88edbb0fd467e9dd0947203e693e6581be1a8d25d96c74d9c3794f1fef9e4c993553ba74330c8f5851cad6315b49f263fe9cf2444225af4362  lzip-1.21.tar.gz"