blob: b5f56eb1f6972fdf3eeccead1d3a2e4d07a434d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-apache-logformat-compiler
_pkgreal=Apache-LogFormat-Compiler
pkgver=0.32
pkgrel=0
pkgdesc="Compile a log format string to perl-code "
url="http://search.cpan.org/dist/Apache-LogFormat-Compiler/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-posix-strftime-compiler"
cpanmakedepends=" perl-test-requires perl-http-message perl-try-tiny perl-uri perl-test-mocktime "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/K/KA/KAZEBURO/$_pkgreal-$pkgver.tar.gz"
_builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
cd "$_builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
perl Build.PL installdirs=vendor || return 1
}
build() {
cd "$_builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
./Build && ./Build test
}
package() {
cd "$_builddir"
./Build install destdir="$pkgdir" || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="0abb3275f934c7ac41d7a83c7d0565ad Apache-LogFormat-Compiler-0.32.tar.gz"
sha256sums="bc112cdbc32f2e93c10bf661f39de509036e01c20c3a702a22cdb0be4426dd7f Apache-LogFormat-Compiler-0.32.tar.gz"
sha512sums="aee9443bd067dc9a623b8f694e3d0c8fd2d3b7e4fe6a547153eff0c2046f22a4503a9b999df2df92bee1eb06c17cbbe626555bd70018891784af51d7623ac27f Apache-LogFormat-Compiler-0.32.tar.gz"
|