diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-06-30 15:19:39 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-06-30 15:20:32 +0000 |
commit | fc11f9bfefcf56f8ebacd1c3b678e0e330dba702 (patch) | |
tree | 722f4376e97dec901e8802da5362b07a14b72a1e /community/perl-starlet | |
parent | d8039c7203e296170434e018a8caa801604582f6 (diff) | |
download | aports-fc11f9bfefcf56f8ebacd1c3b678e0e330dba702.tar.bz2 aports-fc11f9bfefcf56f8ebacd1c3b678e0e330dba702.tar.xz |
community/perl-starlet: moved from main
Diffstat (limited to 'community/perl-starlet')
-rw-r--r-- | community/perl-starlet/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/community/perl-starlet/APKBUILD b/community/perl-starlet/APKBUILD new file mode 100644 index 0000000000..982ac46f1e --- /dev/null +++ b/community/perl-starlet/APKBUILD @@ -0,0 +1,39 @@ +# 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.30 +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-parallel-prefork perl-server-starter perl-plack" +cpanmakedepends="perl-test-tcp perl-libwww" +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 || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + 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" |