aboutsummaryrefslogblamecommitdiffstats
path: root/main/lzip/APKBUILD
blob: 8b9769f70f9ed08f25dad1539e7f0e1fbc31891e (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                   
                                                  
            
           
        
                                            
                              
          
                          
                          
                                                                            
                                   
 
         
                     
                               
                            



                                      


         
                  


           
                                    

 


                                                                                                                                                  
# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=lzip
pkgver=1.22
pkgrel=1
pkgdesc="Lzip is a lossless data compressor"
url="https://nongnu.org/lzip/"
arch="all"
license="GPL-2.0-or-later"
subpackages="$pkgname-doc"
source="https://download.savannah.gnu.org/releases/lzip/lzip-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

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

check() {
	make check
}

package() {
	make DESTDIR=$pkgdir install
}

sha512sums="
318de74effdbdfa79070d28919459a85bf1efe662b818b8af2a3daa964b6c24e3386c37de360c6d5b8b624d549b5c9ed777c6234561129c477e03d92ac2db206  lzip-1.22.tar.gz
"