mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 22:07:19 +02:00
main/perl-mail-spf: upgrade to 3.20240206
also, recreate with apkbuild-cpan template 4, use correct license,
and undo move to /usr/lib/perl5 from b68b01d2
as this is a pure
Perl module, so belongs in /usr/share/perl5 instead.
This commit is contained in:
parent
a4ab92e7c6
commit
1e5457cfac
@ -1,39 +1,46 @@
|
|||||||
|
# Automatically generated by apkbuild-cpan, template 4
|
||||||
# Contributor: Valery Kartel <valery.kartel@gmail.com>
|
# Contributor: Valery Kartel <valery.kartel@gmail.com>
|
||||||
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
|
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
|
||||||
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
|
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
|
||||||
pkgname=perl-mail-spf
|
pkgname=perl-mail-spf
|
||||||
|
pkgver=3.20240206
|
||||||
|
pkgrel=0
|
||||||
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
||||||
_pkgreal=Mail-SPF
|
_pkgreal=Mail-SPF
|
||||||
pkgver=2.9.0
|
|
||||||
pkgrel=6
|
|
||||||
pkgdesc="An object-oriented implementation of Sender Policy Framework"
|
pkgdesc="An object-oriented implementation of Sender Policy Framework"
|
||||||
url="https://metacpan.org/dist/Mail-SPF"
|
url="https://metacpan.org/release/Mail-SPF/"
|
||||||
arch="noarch"
|
arch="noarch"
|
||||||
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
license="BSD-3-Clause"
|
||||||
depends="perl perl-error perl-net-dns perl-uri perl-netaddr-ip perl-net-dns-resolver-programmable"
|
depends="perl perl-error perl-net-dns perl-uri perl-netaddr-ip"
|
||||||
makedepends="perl-module-build"
|
checkdepends="perl-net-dns-resolver-programmable"
|
||||||
subpackages="$pkgname-doc"
|
subpackages="$pkgname-doc"
|
||||||
source="https://cpan.metacpan.org/authors/id/J/JM/JMEHNLE/mail-spf/Mail-SPF-v$pkgver.tar.gz"
|
source="https://cpan.metacpan.org/authors/id/M/MB/MBRADSHAW/Mail-SPF-$pkgver.tar.gz"
|
||||||
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
||||||
builddir="$srcdir/$_pkgreal-v$pkgver"
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||||
|
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL \
|
||||||
|
INSTALLDIRS=vendor \
|
||||||
|
NO_PACKLIST=1 \
|
||||||
|
NO_PERLLOCAL=1
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||||
make test
|
make test
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
make DESTDIR="$pkgdir" install
|
make DESTDIR="$pkgdir" install
|
||||||
mv "$pkgdir"/usr/share/perl5/vendor_perl/* "$pkgdir"/usr/lib/perl5/vendor_perl
|
|
||||||
|
|
||||||
cd "$pkgdir"
|
cd "$pkgdir"
|
||||||
rm -fr usr/share/perl5
|
# conflicts with libspf2-tools
|
||||||
rm -fr usr/bin usr/sbin
|
rm -vrf usr/bin
|
||||||
|
# delete their man pages as well
|
||||||
|
rm -vrf usr/share/man/man1
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
22bf98c4981f121ed85bb5cbc1ebcb2607ada5052bcea0dd8de692e3473a2ebdd3066acd944bb12f0efe64605e4bf7dc695a1549b7608239d0efc059339df60b Mail-SPF-v2.9.0.tar.gz
|
eb2a4f496e828e6da30f967a1d4f91daab096f0cc2b37544a96e075fa5b5a251f0581a82e7323fb34b9808372b2a6b43dd979f79725b744a3172160a75be5ff5 Mail-SPF-3.20240206.tar.gz
|
||||||
"
|
"
|
||||||
|
Loading…
Reference in New Issue
Block a user