mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-20 17:55:15 +03:00
testing/perl-algorithm-diff-xs: new aport
This commit is contained in:
parent
6be3b42f00
commit
d54504f816
1 changed files with 38 additions and 0 deletions
38
testing/perl-algorithm-diff-xs/APKBUILD
Normal file
38
testing/perl-algorithm-diff-xs/APKBUILD
Normal file
|
@ -0,0 +1,38 @@
|
|||
# Automatically generated by apkbuild-cpan, template 2
|
||||
# Contributor: Timothy Legge <timlegge@gmail.com>
|
||||
# Maintainer: Timothy Legge <timlegge@gmail.com>
|
||||
pkgname=perl-algorithm-diff-xs
|
||||
_pkgreal=Algorithm-Diff-XS
|
||||
pkgver=0.04
|
||||
pkgrel=0
|
||||
pkgdesc="Algorithm::Diff with XS core loop"
|
||||
url="https://metacpan.org/release/Algorithm-Diff-XS/"
|
||||
arch="all"
|
||||
license="GPL PerlArtistic"
|
||||
cpandepends="perl-algorithm-diff"
|
||||
depends="$cpandepends"
|
||||
makedepends="perl-dev"
|
||||
subpackages="$pkgname-doc"
|
||||
source="https://cpan.metacpan.org/authors/id/A/AU/AUDREYT/Algorithm-Diff-XS-$pkgver.tar.gz"
|
||||
builddir="$srcdir/$_pkgreal-$pkgver"
|
||||
|
||||
build() {
|
||||
cd "$builddir"
|
||||
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$builddir"
|
||||
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||
make test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$builddir"
|
||||
make DESTDIR="$pkgdir" install
|
||||
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
||||
}
|
||||
|
||||
sha512sums="65f2e08129b90e61c3e90156ee3a7683268d86896599b68ca401ed6a93685933f88a40442b7328b47b4ad0f0c4a407e472175586a5497cd7026e4448d4f116f1 Algorithm-Diff-XS-0.04.tar.gz"
|
Loading…
Add table
Add a link
Reference in a new issue