diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-19 09:09:26 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-19 11:24:36 +0000 |
commit | dc00cd0a3d90989e0753892de46d75bb31e5ef28 (patch) | |
tree | 65f2cd0bb9e9f02b20944772a813c427794eed68 /community/perl-class-load-xs | |
parent | 40a054e37b2a60a6b5d2889c23a0447d69f1485b (diff) | |
download | aports-dc00cd0a3d90989e0753892de46d75bb31e5ef28.tar.bz2 aports-dc00cd0a3d90989e0753892de46d75bb31e5ef28.tar.xz |
community/perl-class-load-xs: moved from testing
Diffstat (limited to 'community/perl-class-load-xs')
-rw-r--r-- | community/perl-class-load-xs/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/community/perl-class-load-xs/APKBUILD b/community/perl-class-load-xs/APKBUILD new file mode 100644 index 0000000000..762b2042d7 --- /dev/null +++ b/community/perl-class-load-xs/APKBUILD @@ -0,0 +1,41 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Francesco Colista <francesco.colista@gmail.com> +# Maintainer: Francesco Colista <francesco.colista@gmail.com> +pkgname=perl-class-load-xs +_pkgreal=Class-Load-XS +pkgver=0.09 +pkgrel=1 +pkgdesc="XS implementation of parts of Class::Load" +url="http://search.cpan.org/dist/Class-Load-XS/" +arch="all" +license="Artistic-2" +cpandepends="perl-class-load" +cpanmakedepends=" perl-test-requires perl-test-fatal perl-module-implementation " +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/$_pkgreal-$pkgver.tar.gz" + +_builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + cd "$_builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor +} + +build() { + cd "$_builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + make && make test +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +md5sums="98eb8daf7f23c872fc7f503a7e34f598 Class-Load-XS-0.09.tar.gz" +sha256sums="bbec3b916df9e48827950a297bf53ef4dd59ed6376142099504307a42b553baa Class-Load-XS-0.09.tar.gz" +sha512sums="9b24637cf7b035ba369f05e42c0bd5a8590e001f2395b46df078635a50bb3df58ad57850be0010d092ae2530d9a545bbcc5f0055f6ae7f166c93905c022d469d Class-Load-XS-0.09.tar.gz" |