diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-25 14:29:28 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-25 14:39:07 +0000 |
commit | ee5fc9fa31cc0700f97655f1de0fcedbc3a19a69 (patch) | |
tree | 7a9f9e744d933a766383e31db92b0ff4680e2e1a /community/perl-xml-libxslt/APKBUILD | |
parent | eaa120dd815b3e70ba7723c28e2aa3a633f23174 (diff) | |
download | aports-ee5fc9fa31cc0700f97655f1de0fcedbc3a19a69.tar.bz2 aports-ee5fc9fa31cc0700f97655f1de0fcedbc3a19a69.tar.xz |
community/perl-xml-libxslt: moved from testing, upgrade to 1.95
Diffstat (limited to 'community/perl-xml-libxslt/APKBUILD')
-rw-r--r-- | community/perl-xml-libxslt/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/community/perl-xml-libxslt/APKBUILD b/community/perl-xml-libxslt/APKBUILD new file mode 100644 index 0000000000..6aa75a68d7 --- /dev/null +++ b/community/perl-xml-libxslt/APKBUILD @@ -0,0 +1,41 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Valery Kartel <valery.kartel@gmail.com> +# Maintainer: Valery Kartel <valery.kartel@gmail.com> +pkgname=perl-xml-libxslt +_pkgreal=XML-LibXSLT +pkgver=1.95 +pkgrel=0 +pkgdesc="Interface to GNOME libxslt library" +url="http://search.cpan.org/dist/XML-LibXSLT/" +arch="all" +license="GPL PerlArtistic" +cpandepends="perl-xml-libxml" +cpanmakedepends=" " +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends libxml2-dev libxslt-dev libgcrypt-dev libgpg-error-dev" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/$_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="adf26f5195e18087c89ef3e7f7d97c43 XML-LibXSLT-1.95.tar.gz" +sha256sums="f1ca21135acc53af9f175958ef5fceb453fd0ef383cfb0e6ef6ea24031f3ef35 XML-LibXSLT-1.95.tar.gz" +sha512sums="06a1c9896a391be2588995f25520da05f086b3fa79109884131525a0d76a7b375e0c5a2febf8a79a888f3a9bd25b5eb39064de1baeffafcfe18f5576c9c54e19 XML-LibXSLT-1.95.tar.gz" |