aboutsummaryrefslogblamecommitdiffstats
path: root/main/lzip/APKBUILD
blob: cccd4bb4c53b22eb28dd30fa07af0c7c01d3c805 (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=0
pkgdesc="Lzip is a lossless data compressor"
url="http://www.nongnu.org/lzip/lzip.html"
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 \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		CPPFLAGS="$CPPFLAGS" \
		CXXFLAGS="$CXXFLAGS" \
		LDFLAGS="$LDFLAGS"
	make
}

check() {
	make check
}

package() {
	make DESTDIR=$pkgdir install
}

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