diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-06-08 14:02:43 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-06-18 07:46:41 +0000 |
commit | 7cd4b46d6906764c723a334814bb15e76cfe4102 (patch) | |
tree | 52356ac0ccf78fd5826c715b1df6e885d08e7c4f /main/perl-yaml-syck | |
parent | 44088967153eb80f19bac99aae1538fca6473802 (diff) | |
download | aports-7cd4b46d6906764c723a334814bb15e76cfe4102.tar.bz2 aports-7cd4b46d6906764c723a334814bb15e76cfe4102.tar.xz |
main/perl-yaml-syck: upgrade to 1.20
Diffstat (limited to 'main/perl-yaml-syck')
-rw-r--r-- | main/perl-yaml-syck/APKBUILD | 41 |
1 files changed, 22 insertions, 19 deletions
diff --git a/main/perl-yaml-syck/APKBUILD b/main/perl-yaml-syck/APKBUILD index ffeecb1532..9af1bc11ac 100644 --- a/main/perl-yaml-syck/APKBUILD +++ b/main/perl-yaml-syck/APKBUILD @@ -1,36 +1,39 @@ -# Contributor: Mika Havela <mika.havela@gmail.com> -# Maintainer: Mika Havela <mika.havela@gmail.com> +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=perl-yaml-syck -_realname=YAML-Syck -pkgver=1.17 +_pkgreal=YAML-Syck +pkgver=1.20 pkgrel=0 -pkgdesc="Perl - Fast, lightweight YAML loader and dumper" -url="http://search.cpan.org/~avar/YAML-Syck/" +pkgdesc="Fast, lightweight YAML loader and dumper" +url="http://search.cpan.org/dist/YAML-Syck/" arch="all" -license="Artistic GPL" -depends="perl" -makedepends="perl-dev" -install= -source="http://search.cpan.org/CPAN/authors/id/A/AV/AVAR/$_realname-$pkgver.tar.gz" +license="mit" +cpandepends="" +cpanmakedepends=" " +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/$_pkgreal-$pkgver.tar.gz" -_builddir="$srcdir/$_realname-$pkgver" +_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" - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - make || return 1 - make test || return 1 + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + make && make test } package() { cd "$_builddir" - make DESTDIR="$pkgdir" install - # creates file collision among perl modules - find "$pkgdir" -name perllocal.pod -delete + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } -md5sums="f788529ad4b2c2fd037ccdfd5e7a88ab YAML-Syck-1.17.tar.gz" +md5sums="8f6d04ee5817b8479e1234264a8d458d YAML-Syck-1.20.tar.gz" |