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

                                                           
                 
                   

                                                                 
                             
          
                      
                                
                                       

                                                              
 
         
                      
            
 
 
         
                      
                  


           
                      
                                         

 
                                                                                                                                                                            
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=miniupnpc
pkgver=2.1.20190408
pkgrel=0
pkgdesc="Library and tool to control NAT in UPnP-enabled routers"
url="http://miniupnp.free.fr"
arch="all"
license="BSD-3-Clause"
makedepends="bsd-compat-headers"
subpackages="$pkgname-dev $pkgname-doc"
source="http://miniupnp.free.fr/files/$pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make PREFIX="$pkgdir"/usr install
}

sha512sums="faa0f1363ebb59ca636b6c974188c52903ad07652f8268563c9c1a5826fafc2458d9f521efd3546fbbd4b71b3b14a50ba89dda52757adad1db81c31d9ba0987a  miniupnpc-2.1.20190408.tar.gz"