blob: 7c4a56540b4888da9282a8e75abc9fe51c0947cd (
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: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-digest-perl-md5
_pkgreal=Digest-Perl-MD5
pkgver=1.9
pkgrel=0
pkgdesc="Perl Implementation of Rivest's MD5 algorithm"
url="http://search.cpan.org/dist/Digest-Perl-MD5/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends=" "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/D/DE/DELTA/$_pkgreal-$pkgver.tar.gz"
_builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
cd "$_builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
cd "$_builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
make && make test
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="41f1160e11ce0d99021fc8d6c725fa3d Digest-Perl-MD5-1.9.tar.gz"
sha256sums="7100cba1710f45fb0e907d8b1a7bd8caef35c64acd31d7f225aff5affeecd9b1 Digest-Perl-MD5-1.9.tar.gz"
sha512sums="015a1f046b85b5b89c1b44073d60116d483332cd667cb7230222df9651b7da837a532991e91848ff0b65f171b8870c2c4bda651da4ca54ea75d062ba6a55b525 Digest-Perl-MD5-1.9.tar.gz"
|