# Automatically generated by apkbuild-cpan, template 1 # Contributor: Timo Teräs # Maintainer: Timo Teräs pkgname=perl-starlet _pkgreal=Starlet pkgver=0.30 pkgrel=1 pkgdesc="a simple, high-performance PSGI/Plack HTTP server" url="http://search.cpan.org/dist/Starlet/" arch="noarch" license="GPL PerlArtistic" cpandepends="perl-parallel-prefork perl-server-starter perl-plack" cpanmakedepends="perl-test-tcp perl-libwww perl-module-install" depends="$cpandepends" makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/K/KA/KAZUHO/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" prepare() { cd "$builddir" PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } build() { cd "$builddir" make } check() { cd "$builddir" make test } package() { cd "$builddir" make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } md5sums="2c391b258aaf527dae7d4e3b3a40f180 Starlet-0.30.tar.gz" sha256sums="f2b50c2a0fb0efff2fb1f48e4577dd69567c96560dd442ce2f7297eb09189551 Starlet-0.30.tar.gz" sha512sums="24ee9c3ea6a0f90cef1f9a4c8657b03133fc64fedc70ffc590b34e45105f7e36cb3be869319e6d42a84dfae23ea6085fe06881d2dd7e88f04ba53619c80eeba1 Starlet-0.30.tar.gz"