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



                                   
                   
                          
                                                                      
 



                      
         



                                 


                                           

                                      
            

 
         
                  

 
           
                                      

 
                                                                                                                                                                     
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=jansson
pkgver=2.13.1
pkgrel=0
pkgdesc="lightweight JSON library"
url="http://www.digip.org/jansson/"
arch="all"
license="MIT"
checkdepends="bash"
subpackages="$pkgname-dev"
source="http://www.digip.org/jansson/releases/jansson-$pkgver.tar.bz2"

# secfixes:
#   0:
#     - CVE-2020-36325

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		--disable-static
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="057f0eda43e4162569888d739f4d78d1d02fce8359400d8f66fdc6e440b0405cb457e1126820dc8ce51e9c4a7f4b7effc640caf1d54307c78c0c47c3fc093011  jansson-2.13.1.tar.bz2"