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

                      
             
                      
             
                     
 
         



                                 
                                         
                               
            

 
         


                  
           
                                       
 
 
            
                                                                                                                                                     
 
# Maintainer: Carlo Landmeter <clandmeter@alpinelinux.org>
pkgname=expat
pkgver=2.4.2
pkgrel=0
pkgdesc="XML Parser library written in C"
url="http://www.libexpat.org/"
arch="all"
license='MIT'
checkdepends="bash"
source="https://downloads.sourceforge.net/project/expat/expat/$pkgver/expat-$pkgver.tar.bz2"
subpackages="$pkgname-static $pkgname-dev $pkgname-doc"

# secfixes:
#   2.2.7-r1:
#     - CVE-2019-15903
#   2.2.7-r0:
#     - CVE-2018-20843
#   2.2.0-r1:
#     - CVE-2017-9233

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--mandir=/usr/share/man \
		--enable-static
	make
}

check() {
	make check
}

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

sha512sums="
7d82835e9b7789650b1890bce36e09683d4ae77813449281d1b5ac71efe4a3b63a21c6d2818b94bd88c05679ebf1471138c45bae582397bc7d67f02fb9de6592  expat-2.4.2.tar.bz2
"