aboutsummaryrefslogblamecommitdiffstats
path: root/community/miniupnpc/APKBUILD
blob: 3b76ebeaac120e46e773fc7cc9a04b08b8017529 (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
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

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

build() {
	cd "$builddir"
	make
}

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

sha512sums="0af5c573206e0147f8e20cd84c394164a784cf385f3978b7ca414cc2b2e530d6af40a21de5c9d8459d31db249e06667757e723767b1d4cd0a4ec5497ad239c23  miniupnpc-2.1.tar.gz"