diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-09-13 14:26:45 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-09-13 14:27:16 +0000 |
commit | 5d650509655bc4fbf500b1d7dfe719fb1d5fba2c (patch) | |
tree | 0ad80f9f923d9bdf7002f289024b42e833dd3795 /community/perl-extutils-pkgconfig | |
parent | e5d274c963ab316cb72068200a6cf993bb64a73d (diff) | |
download | aports-5d650509655bc4fbf500b1d7dfe719fb1d5fba2c.tar.bz2 aports-5d650509655bc4fbf500b1d7dfe719fb1d5fba2c.tar.xz |
community/perl-extutils-pkgconfig: moved from testing
Diffstat (limited to 'community/perl-extutils-pkgconfig')
-rw-r--r-- | community/perl-extutils-pkgconfig/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/community/perl-extutils-pkgconfig/APKBUILD b/community/perl-extutils-pkgconfig/APKBUILD new file mode 100644 index 0000000000..4766a4ff34 --- /dev/null +++ b/community/perl-extutils-pkgconfig/APKBUILD @@ -0,0 +1,41 @@ +# 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.15 +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" + +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="1872e659cf2bb0b2471d75fce735e622 ExtUtils-PkgConfig-1.15.tar.gz" +sha256sums="69b3192e22b37e930238f332b5bfa9e14e69bec1427ba70c8515fbba1137b0b3 ExtUtils-PkgConfig-1.15.tar.gz" +sha512sums="975cc64d07f488bd0b89516ed3304797f8d74774f49e888e72788ef54f432ebb77a70af610e25f275baaea08a7756ce78c964e28bf2c853783a35e67b4aeeeaf ExtUtils-PkgConfig-1.15.tar.gz" |