blob: c8cf3e79a6dfba6ccc2def4a6fb8c54ce2eb7c55 (
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
|
# Automatically generated by apkbuild-cpan, template 1
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-yaml-tiny
_pkgreal=YAML-Tiny
pkgver=1.70
pkgrel=0
pkgdesc="Read/Write YAML files with as little code as possible"
url="http://search.cpan.org/dist/YAML-Tiny/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends=" perl-json-maybexs"
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/$_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="a475714e8d512aafc410ca4d7a117aa2 YAML-Tiny-1.70.tar.gz"
sha256sums="bbce4b52b5eafdb04e3043975a08dbf394d00b7d2c958adb9d03d9f7e9291255 YAML-Tiny-1.70.tar.gz"
sha512sums="a4d790f8d797170fac819640d23a3ddc62b506ac9467d8922ed2ca8f1abacf5a6ba7604e5312f6539a3c9e4aa8c41ccd91754ca32f74bf8b0d89a9d84e4b4f53 YAML-Tiny-1.70.tar.gz"
|