mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-04 08:12:06 +01:00
45 lines
1.5 KiB
Plaintext
45 lines
1.5 KiB
Plaintext
# Automatically generated by apkbuild-cpan, template 1
|
|
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=perl-module-build-tiny
|
|
_pkgreal=Module-Build-Tiny
|
|
pkgver=0.039
|
|
pkgrel=0
|
|
pkgdesc="A tiny replacement for Module::Build"
|
|
url="http://search.cpan.org/dist/Module-Build-Tiny/"
|
|
arch="noarch"
|
|
license="GPL PerlArtistic"
|
|
cpandepends="perl-extutils-installpaths perl-extutils-config perl-extutils-helpers perl-test-harness"
|
|
cpanmakedepends=" "
|
|
depends="$cpandepends"
|
|
makedepends="perl-dev $cpanmakedepends"
|
|
subpackages="$pkgname-doc"
|
|
source="http://search.cpan.org/CPAN/authors/id/L/LE/LEONT/$_pkgreal-$pkgver.tar.gz"
|
|
|
|
_builddir="$srcdir/$_pkgreal-$pkgver"
|
|
|
|
prepare() {
|
|
cd "$_builddir"
|
|
if [ -e Build.PL ]; then
|
|
perl Build.PL --installdirs=vendor || return 1
|
|
else
|
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
|
|
fi
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
|
|
./Build && ./Build test
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
./Build install --destdir="$pkgdir" --create_packlist=0 || return 1
|
|
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
|
}
|
|
|
|
md5sums="2332c90c17454107fea3f2614e11a3a9 Module-Build-Tiny-0.039.tar.gz"
|
|
sha256sums="7d580ff6ace0cbe555bf36b86dc8ea232581530cbeaaea09bccb57b55797f11c Module-Build-Tiny-0.039.tar.gz"
|
|
sha512sums="26ca6fe4c1792b26bb2b4711035847f4215ea7c37234fbe24fc07432682fd9d3b6016dbdb2ecb455a7b13f6bea13994826c7f84f21075f0a6e575fa74672903a Module-Build-Tiny-0.039.tar.gz"
|