mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-21 13:41:20 +02:00
43 lines
1.1 KiB
Plaintext
43 lines
1.1 KiB
Plaintext
# Automatically generated by apkbuild-cpan, template 1
|
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=perl-config-tiny
|
|
_pkgreal=Config-Tiny
|
|
pkgver=2.28
|
|
pkgrel=0
|
|
pkgdesc="Perl module for Config-Tiny"
|
|
url="https://metacpan.org/release/Config-Tiny/"
|
|
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/R/RS/RSAVAGE/$_pkgreal-$pkgver.tgz"
|
|
|
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
|
|
|
prepare() {
|
|
if [ -e Build.PL ]; then
|
|
perl Build.PL installdirs=vendor
|
|
else
|
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
|
fi
|
|
}
|
|
|
|
build() {
|
|
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
|
}
|
|
|
|
sha512sums="
|
|
0f9014a6c81253900613f7e35e7dc51c68b8b92e08e8cb6ce65b992147d8c93e2a4e5f1dcd2b21997099a1e9f8eb5063f58b5371338df188a493f082c65fd168 Config-Tiny-2.28.tgz
|
|
"
|