diff options
author | Timo Teräs <timo.teras@iki.fi> | 2011-06-02 11:42:50 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2011-06-02 11:48:27 +0300 |
commit | 40c3b3cace4776cf4f9b0e12dff5ff2b62217e22 (patch) | |
tree | c0054df8211df7786572f6e9999de3a1a340005c /testing | |
parent | 2e887107d15d4e72fced7eebb60be5a7b54df274 (diff) | |
download | aports-fcolista-40c3b3cace4776cf4f9b0e12dff5ff2b62217e22.tar.bz2 aports-fcolista-40c3b3cace4776cf4f9b0e12dff5ff2b62217e22.tar.xz |
testing/perl-starlet: new apkbuild-cpan generated aport
a simple, high-performance PSGI/Plack HTTP server
http://search.cpan.org/dist/Starlet/
Diffstat (limited to 'testing')
-rw-r--r-- | testing/perl-starlet/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/perl-starlet/APKBUILD b/testing/perl-starlet/APKBUILD new file mode 100644 index 0000000000..991872f860 --- /dev/null +++ b/testing/perl-starlet/APKBUILD @@ -0,0 +1,37 @@ +# 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-starlet +_pkgreal=Starlet +pkgver=0.13 +pkgrel=0 +pkgdesc="a simple, high-performance PSGI/Plack HTTP server" +url="http://search.cpan.org/dist/Starlet/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="perl-server-starter perl-plack perl-parallel-prefork" +cpanmakedepends="perl-test-tcp" +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 && make test +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +md5sums="222eff2e8e5d69a44a8a3935fb8837cd Starlet-0.13.tar.gz" |