blob: 4cf5839719058534b1879ad00711d4dc148ccc53 (
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
|
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-yaml
_pkgreal=YAML
pkgver=1.19
pkgrel=0
pkgdesc="YAML Ain't Markup Language (tm)"
url="http://search.cpan.org/dist/YAML/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends="perl-test-yaml"
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/T/TI/TINITA/$_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="1ec2e51cca7cef07fb1a2d96521888fd YAML-1.19.tar.gz"
sha256sums="3010f650b0f17a120a34c2a3dcdfc9ee2bb1fe145aa52305936eba9c0120005c YAML-1.19.tar.gz"
sha512sums="51dad1554dbfeb771d8bb1d6d51fab15522433182f4e289a9d7a7dbe47686e5cdb7b194a2cdfb40560a247f304b15101f130c011a64daf1c4dd2156249c1ed71 YAML-1.19.tar.gz"
|