blob: 5a1852f09ebb42b2bab813d84de0f41141bd395c (
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
|
# 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.23
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/I/IN/INGY/$_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
}
sha512sums="42dd2063e16b0e96a51ae9e43ed537741206529ff0df2939717eb142edf6396f69130b6b64d1d338d0c0a32dc11f68f3ffc5e0b5043c325c20e0d492626c106c YAML-1.23.tar.gz"
|