diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-09-19 21:32:30 -0500 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-09-20 09:01:33 +0000 |
commit | 79982b1fbd8c4dd28f918190d80408483d848123 (patch) | |
tree | ff972485477ffa7a0d03a805c245503817b765e3 /main/perl-extutils-pkgconfig/APKBUILD | |
parent | c74a2a726a0e5347e089ba72501979bbba76d60f (diff) | |
download | aports-79982b1fbd8c4dd28f918190d80408483d848123.tar.bz2 aports-79982b1fbd8c4dd28f918190d80408483d848123.tar.xz |
community/perl-extutils-pkgconfig: move to main for perl-gd
Diffstat (limited to 'main/perl-extutils-pkgconfig/APKBUILD')
-rw-r--r-- | main/perl-extutils-pkgconfig/APKBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/main/perl-extutils-pkgconfig/APKBUILD b/main/perl-extutils-pkgconfig/APKBUILD new file mode 100644 index 0000000000..6c2924f987 --- /dev/null +++ b/main/perl-extutils-pkgconfig/APKBUILD @@ -0,0 +1,44 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=perl-extutils-pkgconfig +_pkgreal=ExtUtils-PkgConfig +pkgver=1.16 +pkgrel=0 +pkgdesc="unknown" +url="http://search.cpan.org/dist/ExtUtils-PkgConfig/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="" +cpanmakedepends="" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/X/XA/XAOC/$_pkgreal-$pkgver.tar.gz" + +builddir="$srcdir/$_pkgreal-$pkgver" + +check() { + cd "$builddir" + make test +} + +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 +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="a872fd54aa5bf3137ace9c44457dfc047ea6d283accc453e824b609b6996a8e2fab685459f38a8236419155df01a18421671426a7237639a47ab32e18c9b4191 ExtUtils-PkgConfig-1.16.tar.gz" |