diff options
author | Timo Teräs <timo.teras@iki.fi> | 2013-10-15 10:57:32 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2013-10-15 10:58:15 +0000 |
commit | 4445acfbaa04990754aed1cefc4510c15ad2e9ac (patch) | |
tree | 54d8f44372d96d1e4590c7e475dbb5f3339e9583 /main/perl-yaml-syck/APKBUILD | |
parent | 7eb39fcc0e57fb06621635884df62332d4549668 (diff) | |
download | aports-4445acfbaa04990754aed1cefc4510c15ad2e9ac.tar.bz2 aports-4445acfbaa04990754aed1cefc4510c15ad2e9ac.tar.xz |
main/perl-yaml-syck: fix arm build
Diffstat (limited to 'main/perl-yaml-syck/APKBUILD')
-rw-r--r-- | main/perl-yaml-syck/APKBUILD | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/main/perl-yaml-syck/APKBUILD b/main/perl-yaml-syck/APKBUILD index a3bdc3d558..f1bb4881f9 100644 --- a/main/perl-yaml-syck/APKBUILD +++ b/main/perl-yaml-syck/APKBUILD @@ -1,10 +1,10 @@ # Automatically generated by apkbuild-cpan, template 1 -# Contributor: -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +# Contributor: Timo Teräs <timo.teras@iki.fi> +# Maintainer: Timo Teräs <timo.teras@iki.fi> pkgname=perl-yaml-syck _pkgreal=YAML-Syck pkgver=1.27 -pkgrel=0 +pkgrel=1 pkgdesc="Fast, lightweight YAML loader and dumper" url="http://search.cpan.org/dist/YAML-Syck/" arch="all" @@ -14,12 +14,19 @@ 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" +source="http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/$_pkgreal-$pkgver.tar.gz + 0001-Recognize-all-wide-unicode-characters.patch + " _builddir="$srcdir/$_pkgreal-$pkgver" prepare() { cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } @@ -36,6 +43,9 @@ package() { find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } -md5sums="8920091e68a078cfa9c42041e5759162 YAML-Syck-1.27.tar.gz" -sha256sums="de74e534a0e21b05cc7e7af322d45754122c192ac871802cd9488fef50e02df9 YAML-Syck-1.27.tar.gz" -sha512sums="c54c8d2b0cb73a0bcc5c377ce91eb50c706429832a6f3190fcdc8b4eedec2b6f8e7add53f578bc9795d8600bd5cd9a000d491077be5851a15493df6993e469fc YAML-Syck-1.27.tar.gz" +md5sums="8920091e68a078cfa9c42041e5759162 YAML-Syck-1.27.tar.gz +8c668a61b6b3de0a5328751f217019ef 0001-Recognize-all-wide-unicode-characters.patch" +sha256sums="de74e534a0e21b05cc7e7af322d45754122c192ac871802cd9488fef50e02df9 YAML-Syck-1.27.tar.gz +a04bac994563b9836f84e07bb9391a781804ecd997399e799c4d9fd9e058c205 0001-Recognize-all-wide-unicode-characters.patch" +sha512sums="c54c8d2b0cb73a0bcc5c377ce91eb50c706429832a6f3190fcdc8b4eedec2b6f8e7add53f578bc9795d8600bd5cd9a000d491077be5851a15493df6993e469fc YAML-Syck-1.27.tar.gz +08c380435000bda15fa9247447f0330721d7bd33c4bba8a5637c7d5487e0da187692bc63af6225214be9e0c0d19c9e79c9e4241657912a68778a3f5d79a75988 0001-Recognize-all-wide-unicode-characters.patch" |