mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 12:01:41 +02:00
testing/perl-image-info: new aport
This commit is contained in:
parent
a8201459f1
commit
e12fb15d66
35
testing/perl-image-info/APKBUILD
Normal file
35
testing/perl-image-info/APKBUILD
Normal file
@ -0,0 +1,35 @@
|
||||
# Automatically generated by apkbuild-cpan, template 2
|
||||
# Contributor: Timothy Legge <timlegge@gmail.com>
|
||||
# Maintainer: Timothy Legge <timlegge@gmail.com>
|
||||
pkgname=perl-image-info
|
||||
_pkgreal=Image-Info
|
||||
pkgver=1.42
|
||||
pkgrel=0
|
||||
pkgdesc="Extract meta information from image files"
|
||||
url="https://metacpan.org/release/Image-Info/"
|
||||
arch="noarch"
|
||||
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
||||
cpandepends="perl-io-stringy"
|
||||
depends="$cpandepends"
|
||||
makedepends="perl-dev"
|
||||
subpackages="$pkgname-doc"
|
||||
source="https://cpan.metacpan.org/authors/id/S/SR/SREZIC/Image-Info-$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="7b17c3510328e062f93f1882c93a4ed24afb6f636d23e9ff1f478e452c9e1cc532c06b639991446442f200696afc63ddde1259afbe4362c3179b515046286133 Image-Info-1.42.tar.gz"
|
||||
Loading…
x
Reference in New Issue
Block a user