diff options
Diffstat (limited to 'unmaintained/perl-extutils-pkgconfig/APKBUILD')
-rw-r--r-- | unmaintained/perl-extutils-pkgconfig/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/unmaintained/perl-extutils-pkgconfig/APKBUILD b/unmaintained/perl-extutils-pkgconfig/APKBUILD new file mode 100644 index 0000000000..280b4fbb8f --- /dev/null +++ b/unmaintained/perl-extutils-pkgconfig/APKBUILD @@ -0,0 +1,41 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Francesco Colista <francesco.colista@gmail.com> +# Maintainer: Francesco Colista <francesco.colista@gmail.com> +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" |