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


                                                           

                   



                                            

                                                               
                                                                                
                      
                      

                                           
 
         
                        


         
                  


           
                                      
                                                   
                                             
                                                   
                                             

 

                                                                                                                                                                                 
                                                                                                                                                 
                                                                                                                                                 
                                                                                                                                                                  
                                                                                                                                                                    
 
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=minissdpd
pkgver=1.5.20211105
pkgrel=0
pkgdesc="MiniSSDP Daemon"
url="http://miniupnp.free.fr/minissdpd.html"
arch="all"
license="BSD"
makedepends="libnfnetlink-dev linux-headers bsd-compat-headers"
subpackages="$pkgname-doc $pkgname-openrc"
source="http://miniupnp.free.fr/files/download.php?file=minissdpd-$pkgver.tar.gz
	$pkgname.initd
	$pkgname.confd
	enable-ipv4mreqn-multicast.patch
	remove-install-shipped-initd.patch"

build() {
	PREFIX=/usr make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
	install -m755 -D "$srcdir"/$pkgname.initd \
		"$pkgdir"/etc/init.d/$pkgname
	install -m644 -D "$srcdir"/$pkgname.confd \
		"$pkgdir"/etc/conf.d/$pkgname
}

sha512sums="
ef393a051352c4abcc11d9f3bf1c822585750c1f8284875345f5cdb947b601c0bcd896d519a826f580612abbd7eacaedbd42e3fa60d654c906a35936faa92886  download.php?file=minissdpd-1.5.20211105.tar.gz
66c0822bc9166cd02faf57a58d0f843a85ecf71d3f852829197c8f81bcfd52358a115f2244520ffe50746aa7274d76c30365f927bc1cf5faf47485e91a44805f  minissdpd.initd
5ac723cb5b3d3f8bb97989cffb174f22566fcebff304e40f12ca5144cfa94b00614fdf6925e2c5a1dd0f8fa533aac12e991bad0d0909cbdd90a9b7ed73e0c296  minissdpd.confd
1b39727952c9ed89bb76e852406efa9ee822605b3a2d57ee1bcb81916535270f193322516420df23986f3a702e00db2782c3f05c5dd62e888575ce1390dfbb6c  enable-ipv4mreqn-multicast.patch
08eb4d996f5f55940caf6f55f44586166c01bb78fe3e92db002628800a87ceb41986b1fed831d4423ea2fcdccb4b3976665ccd3539881f230913d98d0205b41f  remove-install-shipped-initd.patch
"