diff options
author | Valery Kartel <valery.kartel@gmail.com> | 2015-11-09 14:40:04 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2015-11-09 14:07:57 +0100 |
commit | ab4196ca0174dab98f2df12d27040c75540a9fd6 (patch) | |
tree | c6231aaa9dae319ed12841f20bda217597bc2360 /testing | |
parent | 5c0b7312d8745478a1b8f69b7777d459d0198ca5 (diff) | |
download | aports-ab4196ca0174dab98f2df12d27040c75540a9fd6.tar.bz2 aports-ab4196ca0174dab98f2df12d27040c75540a9fd6.tar.xz |
testing/perl-xml-libxslt: new aport
Diffstat (limited to 'testing')
-rw-r--r-- | testing/perl-xml-libxslt/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/perl-xml-libxslt/APKBUILD b/testing/perl-xml-libxslt/APKBUILD new file mode 100644 index 0000000000..0e8c02c31e --- /dev/null +++ b/testing/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.94 +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="a32045699c001d960d6f94891f9e853c XML-LibXSLT-1.94.tar.gz" +sha256sums="b9c0d4de0697284c3f4687283f2ed6b28139b088e2dc2c73be37b0f7b5e94ae5 XML-LibXSLT-1.94.tar.gz" +sha512sums="52b3ec6ef0556d9dde8320acbea01fe36e219bc62ed2d9e0cbe2f8f402bfc3f42ca1e28a6e047e69f501982fe4ba40d23fcfbce9399388c9f28a0d8804fc5f73 XML-LibXSLT-1.94.tar.gz" |