aboutsummaryrefslogblamecommitdiffstats
path: root/community/libupnp/APKBUILD
blob: 33d6311853d1812f2928304922efa93b5a69179b (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.7
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="
8aacde63655d8673d50452c1c9e00c8e379e9a938bb0f510ab56764c397402519ca72d4481208ab08d7e2f5eb494f2713fed63a734401f62a9674a340f998e11  libupnp-1.14.7.tar.bz2
"