mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 05:17:07 +02:00
testing/perl-lib-abs: new aport
https://metacpan.org/release/lib-abs/ 'lib' that makes relative path absolute to caller
This commit is contained in:
parent
c39fd73c5a
commit
458d30e738
38
testing/perl-lib-abs/APKBUILD
Normal file
38
testing/perl-lib-abs/APKBUILD
Normal file
@ -0,0 +1,38 @@
|
||||
# Automatically generated by apkbuild-cpan, template 4
|
||||
# Contributor: Celeste <cielesti@protonmail.com>
|
||||
# Maintainer: Celeste <cielesti@protonmail.com>
|
||||
pkgname=perl-lib-abs
|
||||
pkgver=0.95
|
||||
pkgrel=0
|
||||
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
||||
_pkgreal=lib-abs
|
||||
pkgdesc="'lib' that makes relative path absolute to caller"
|
||||
url="https://metacpan.org/release/lib-abs/"
|
||||
arch="noarch"
|
||||
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
||||
depends="perl"
|
||||
subpackages="$pkgname-doc"
|
||||
source="https://cpan.metacpan.org/authors/id/M/MO/MONS/lib-abs-$pkgver.tar.gz"
|
||||
builddir="$srcdir/$_pkgreal-$pkgver"
|
||||
|
||||
build() {
|
||||
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
|
||||
}
|
||||
|
||||
check() {
|
||||
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||
make test
|
||||
}
|
||||
|
||||
package() {
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
153e6515551f5907ec932c065455f73f38564ac24607fd168123a55a4b008ce03d9edccedd2b4b9ef91c0ace5ea3bfe6a21722459ebe8ac4fa5e21166b6b3e6c lib-abs-0.95.tar.gz
|
||||
"
|
Loading…
Reference in New Issue
Block a user