mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 00:12:05 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			42 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			42 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Automatically generated by apkbuild-cpan, template 1
 | |
| # Contributor: Francesco Colista <francesco.colista@gmail.com>
 | |
| # Maintainer: Francesco Colista <francesco.colista@gmail.com>
 | |
| pkgname=perl-module-implementation
 | |
| _pkgreal=Module-Implementation
 | |
| pkgver=0.07
 | |
| pkgrel=0
 | |
| pkgdesc="Loads one of several alternate underlying implementations for a module"
 | |
| url="http://search.cpan.org/dist/Module-Implementation/"
 | |
| arch="noarch"
 | |
| license="Artistic-2"
 | |
| cpandepends="perl-module-runtime perl-try-tiny perl-test-taint"
 | |
| cpanmakedepends="  perl-test-fatal perl-test-requires "
 | |
| depends="$cpandepends"
 | |
| makedepends="perl-dev $cpanmakedepends"
 | |
| subpackages="$pkgname-doc"
 | |
| source="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/$_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="55483fce4266747e823a1004499bd70c  Module-Implementation-0.07.tar.gz"
 | |
| sha256sums="7349837153939d7f5777b28f49e2940a0aa003e75f587e1674da5bd5101d2997  Module-Implementation-0.07.tar.gz"
 | |
| sha512sums="f2ea0aba3a21fd5a338899f74d0d59e0590983787a85083e2bf68bb0c27ca82362090d4bfca685a36895e8832a4784c86bb999b13b90c9a0356f326bf8bb6f99  Module-Implementation-0.07.tar.gz"
 |