blob: 00c4ab16f0aa493401f71ff03516a19cb5279d65 (
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
# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Maintainer: Valery Kartel <valery.kartel@gmail.com>
pkgname=perl-yaml-xs
_pkgreal=YAML-LibYAML
pkgver=0.63
pkgrel=0
pkgdesc="Perl YAML Serialization using XS and libyaml"
url="http://search.cpan.org/dist/YAML-LibYAML/"
arch="all"
license="GPL PerlArtistic"
cpandepends=
cpanmakedepends=
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"
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="a6a2d7e2124b101236613e831458172f YAML-LibYAML-0.63.tar.gz"
sha256sums="3cf0044a8838966f63c850a442e36039b8aec2db291089fffa11b786d1d164c8 YAML-LibYAML-0.63.tar.gz"
sha512sums="c1161ac72f678e4531f8fe5daf09553ba946513c3d1efa1d354ea17ef4dfefd4281a2d77e2fe49960388d338681a24d7547b36dc08ad8993651e807a303df954 YAML-LibYAML-0.63.tar.gz"
|