aboutsummaryrefslogblamecommitdiffstats
path: root/community/libupnp/APKBUILD
blob: d778b21e9a4210560ad1e9ea6d140f3c8e8b4365 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                          

                                                           
               

             
                                                   
                                  
          
                      
                                       
                          
                                                                                                 



                      

           
                       

                  
 
         

                               
                               

                                    
            

 
         


                  
           
                                      

 
                                                                                                                                                                     
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Contributor: Mike Crute <mike@crute.us>
pkgname=libupnp
pkgver=1.14.0
pkgrel=0
pkgdesc="Portable Open Source UPnP Development Kit"
url="http://pupnp.sourceforge.net"
arch="all"
license="BSD-3-Clause"
makedepends="automake autoconf libtool"
subpackages="$pkgname-dev"
source="https://github.com/pupnp/pupnp/releases/download/release-$pkgver/libupnp-$pkgver.tar.bz2"

# secfixes:
#   1.12.1-r1:
#     - CVE-2020-13848

prepare() {
	default_prepare
	autoreconf
}

build() {
	./configure \
		--prefix=/usr \
		--enable-ipv6 \
		--enable-static=no \
		--enable-reuseaddr
	make
}

check() {
	make check
}

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

sha512sums="c1ceaa4116dc514607d092126f98a32b6b01d3251464615e3a716254d474559d1df785203daf21b44b0edb34a72e978f8a9fde697336258a8c225b55aa9e0db5  libupnp-1.14.0.tar.bz2"