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

                                             
              
                      
          
              
                                       
                                                 
 
         







                                      



                  




                                                   
                                                                                                                                                                 
# Maintainer: Zach van Rijn <me@zv.io>
pkgname=zlib
pkgver=1.2.13
pkgrel=0
pkgdesc="A compression/decompression Library"
arch="all"
license="Zlib"
url="https://zlib.net"
depends=""
makedepends=""
subpackages="$pkgname-dev $pkgname-doc"
source="https://zlib.net/$pkgname-$pkgver.tar.gz"

build() {
	CHOST="${CHOST}" ./configure \
		--prefix=/usr \
		--libdir=/lib \
		--shared
	make
}

check() {
	make check
}

package() {
	make install \
		pkgconfigdir="/usr/lib/pkgconfig" \
		DESTDIR="$pkgdir"
}

sha512sums="99f0e843f52290e6950cc328820c0f322a4d934a504f66c7caa76bd0cc17ece4bf0546424fc95135de85a2656fed5115abb835fd8d8a390d60ffaf946c8887ad  zlib-1.2.13.tar.gz"