aboutsummaryrefslogblamecommitdiffstats
path: root/main/perl-server-starter/APKBUILD
blob: bb2f457bb5221ce727907a5c154a5b3acb6b9254 (plain) (tree)
1
2
3
4
5
6
7
8
9
10




                                                      
           
        
                                                         

                                                 
                                               
                                                                  
                               
                      
                                                           
                          
                                                                                    
 
                                    

           


                       



                                                                 





                      


                                                           


           

                                      


                                                                           
                                                                                                                                                                         
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=perl-server-starter
_pkgreal=Server-Starter
pkgver=0.15
pkgrel=2
pkgdesc="A superdaemon for hot-deploying server programs"
url="http://search.cpan.org/dist/Server-Starter/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
cpandepends="perl-proc-wait3 perl-list-moreutils perl-scope-guard"
cpanmakedepends="perl-test-tcp"
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends perl-module-install"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/K/KA/KAZUHO/$_pkgreal-$pkgver.tar.gz"

builddir="$srcdir/$_pkgreal-$pkgver"

prepare() {
	default_prepare

	cd "$builddir"
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}

build() {
	cd "$builddir"
	make
}

check() {
	cd "$builddir"
	if ! grep -q "VxID: [0-9]*" /proc/self/status; then
		make test
	fi
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="2957a4aed7c7ffacb81bbdd5f9e68acdbe9fbd78641cd8746bb2f35deeea8c96cd84c50076791cc5fcba108b992a238c492da59baa40b5b5d1303883127d9e89  Server-Starter-0.15.tar.gz"