diff options
author | Taner Tas <taner76@gmail.com> | 2019-04-27 23:32:38 +0300 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-04-27 21:02:51 +0000 |
commit | 92ae64f9103d96d1890be819d0d5bd784eeb6854 (patch) | |
tree | 1f6519a7f209ea07af73cbeff85a4c82a0ae8f03 /community/perl-types-serialiser/APKBUILD | |
parent | efef9ff68c9eaee29514270a7421143e4acac458 (diff) | |
download | aports-92ae64f9103d96d1890be819d0d5bd784eeb6854.tar.bz2 aports-92ae64f9103d96d1890be819d0d5bd784eeb6854.tar.xz |
community/perl-types-serialiser: move from testing
Closes GH-6354
Diffstat (limited to 'community/perl-types-serialiser/APKBUILD')
-rw-r--r-- | community/perl-types-serialiser/APKBUILD | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/community/perl-types-serialiser/APKBUILD b/community/perl-types-serialiser/APKBUILD new file mode 100644 index 0000000000..a3aa4baa6e --- /dev/null +++ b/community/perl-types-serialiser/APKBUILD @@ -0,0 +1,46 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: +# Maintainer: +pkgname=perl-types-serialiser +_pkgreal=Types-Serialiser +pkgver=1.0 +pkgrel=1 +pkgdesc="unknown" +url="http://search.cpan.org/dist/Types-Serialiser/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends= +cpanmakedepends="perl-common-sense" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/$_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 +} + +check() { + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + make test +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +md5sums="76460a2bfbc644672499af89192e03fe Types-Serialiser-1.0.tar.gz" +sha256sums="7ad3347849d8a3da6470135018d6af5fd8e58b4057cd568c3813695f2a04730d Types-Serialiser-1.0.tar.gz" +sha512sums="b786bcd3ee976a6ad948cc98a9c71d2cdcd30f485528eff059091f6d86ae7078c10ba2dc2982326fcf0184dbfbdddea84daff324c6ec6a129fe6aac01253c8fb Types-Serialiser-1.0.tar.gz" |