diff options
Diffstat (limited to 'main/perl-file-tail')
-rw-r--r-- | main/perl-file-tail/APKBUILD | 45 |
1 files changed, 24 insertions, 21 deletions
diff --git a/main/perl-file-tail/APKBUILD b/main/perl-file-tail/APKBUILD index 8440eb47c5..b2d21ed3b9 100644 --- a/main/perl-file-tail/APKBUILD +++ b/main/perl-file-tail/APKBUILD @@ -1,37 +1,40 @@ -# Contributor: Mika Havela <mika.havela@gmail.com> -# Maintainer: Mika Havela <mika.havela@gmail.com> +# Automatically generated by apkbuild-cpan, template 1 +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=perl-file-tail -_realname=File-Tail -pkgver=0.99.3 -pkgrel=2 -pkgdesc="Perl - Extension for reading from continously updated files" -url="http://search.cpan.org/~mgrabnar/$_realname-$pkgver/" +_pkgreal=File-Tail +pkgver=1.0 +pkgrel=0 +pkgdesc="unknown" +url="http://search.cpan.org/dist/File-Tail/" arch="noarch" -license="Artistic GPL" -depends="perl" -makedepends="perl-dev" -install= -#subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/M/MG/MGRABNAR/$_realname-$pkgver.tar.gz" +license="GPL PerlArtistic" +cpandepends="" +cpanmakedepends=" " +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/M/MG/MGRABNAR/$_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="ef0fb7bcb4181ba593f4a09940f61d1c File-Tail-0.99.3.tar.gz" +md5sums="c87f648d138c176b5d224c8d1b59838e File-Tail-1.0.tar.gz" +sha256sums="56683bc53cbc06ee701d42ddcdabe69895206fa5049af13cef9c68d147d57ed3 File-Tail-1.0.tar.gz" +sha512sums="8ad120e83fcf18d05f686c637f96af7dd0b5b04186e0b3fbfdf802bf82effaa16377fce15887d395abd03f9ebe4db2685d1d8e40f0b7b19b08ad71a93042551f File-Tail-1.0.tar.gz" |