diff options
Diffstat (limited to 'testing')
-rw-r--r-- | testing/perl-encode/APKBUILD | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/testing/perl-encode/APKBUILD b/testing/perl-encode/APKBUILD deleted file mode 100644 index 14e040a310..0000000000 --- a/testing/perl-encode/APKBUILD +++ /dev/null @@ -1,49 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Natanael Copa <ncopa@alpinelinux.org> -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=perl-encode -_pkgreal=Encode -pkgver=2.75 -pkgrel=0 -pkgdesc="character encodings in Perl" -url="http://search.cpan.org/dist/Encode/" -arch="all" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc $pkgname-piconv" -source="http://search.cpan.org/CPAN/authors/id/D/DA/DANKOGAI/$_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 -} - -# we split out /usr/bin/piconv to separate package to avoid conflict with -# piconv shipped with perl itself -piconv() { - pkgdesc="perl implementation of iconv" - mkdir -p "$subpkgdir"/usr/bin - mv "$pkgdir"/usr/bin/piconv "$subpkgdir"/usr/bin/ -} - -md5sums="e6ed28199c0cb423516b88a0698db0ec Encode-2.75.tar.gz" -sha256sums="9686e9469b999923207383086324b90769f35191e5adbeb02269bd1b989534b9 Encode-2.75.tar.gz" -sha512sums="a013699dce7cc29f83de43518d4a54190c18164468aad570ba76db5749ef5a040ad9f46b1d86ccea8d9190f7ee8d8d9bf996f97a7235c0d1943822b708891c4f Encode-2.75.tar.gz" |