aboutsummaryrefslogblamecommitdiffstats
path: root/testing/perl-io-sessiondata/APKBUILD
blob: 5df3ae7d9e15d60d9a6aec6795edece14af987b7 (plain) (tree)








































                                                                                                                                                                         
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-io-sessiondata
_pkgreal=IO-SessionData
pkgver=1.03
pkgrel=0
pkgdesc="supporting module for SOAP::Lite"
url="http://search.cpan.org/dist/IO-SessionData/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends="   "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages=""
source="http://search.cpan.org/CPAN/authors/id/P/PH/PHRED/$_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="790f9e05465c774cf9a6299500463104  IO-SessionData-1.03.tar.gz"
sha256sums="64a4712a3edbb3fd10230db296c29c8c66f066adfbc0c3df6a48258fef392ddd  IO-SessionData-1.03.tar.gz"
sha512sums="3fe6c9c275c64e4250933f6bc377172ed09d123b5aab3ac981b12b42c571be5638728bdd0d16438f973606da5b6a583aeaf6213008f249ccee7e275383eebd6e  IO-SessionData-1.03.tar.gz"