mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 08:21:49 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			38 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Automatically generated by apkbuild-cpan, template 3
 | |
| # Contributor: Natanael Copa <ncopa@alpinelinux.org>
 | |
| # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
 | |
| pkgname=perl-sql-abstract-classic
 | |
| #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
 | |
| _pkgreal=SQL-Abstract-Classic
 | |
| pkgver=1.91
 | |
| pkgrel=0
 | |
| pkgdesc="Generate SQL from Perl data structures"
 | |
| url="https://metacpan.org/release/SQL-Abstract-Classic/"
 | |
| arch="noarch"
 | |
| license="GPL-1.0-or-later OR Artistic-1.0-Perl"
 | |
| depends="perl perl-sql-abstract perl-mro-compat"
 | |
| makedepends="perl-test-warn perl-test-exception perl-test-deep"
 | |
| subpackages="$pkgname-doc"
 | |
| source="https://cpan.metacpan.org/authors/id/R/RI/RIBASUSHI/SQL-Abstract-Classic-$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
 | |
| 	make
 | |
| }
 | |
| 
 | |
| check() {
 | |
| 	export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
 | |
| 	make test
 | |
| }
 | |
| 
 | |
| package() {
 | |
| 	make DESTDIR="$pkgdir" install
 | |
| 	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
 | |
| }
 | |
| 
 | |
| sha512sums="
 | |
| a2389c04889ea09fc6512f955f8a383d1f51839f584a0be16aab33dec72b67214d0f22d55c666fa0ddeaa32e5c6fc91e1e50541d52e71beeb3b3d85af21a9643  SQL-Abstract-Classic-1.91.tar.gz
 | |
| "
 |