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

                                             
              
                      
          
              
                                       
                                                 
 
         







                                      



                  




                                                   
                                                                                                                                                              
# Maintainer: Zach van Rijn <me@zv.io>
pkgname=zlib
pkgver=1.3
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="185795044461cd78a5545250e06f6efdb0556e8d1bfe44e657b509dd6f00ba8892c8eb3febe65f79ee0b192d6af857f0e0055326d33a881449f3833f92e5f8fb  zlib-1.3.tar.gz"