aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-set-intspan
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2016-03-07 10:23:18 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2016-03-07 10:45:20 +0000
commitdc6cc7a0eb173f1fd88df573725d7732deba689f (patch)
tree62a87719675158a9cd4b77c34b8abe490ce28ae5 /main/perl-set-intspan
parentd73d2074ea06d96ff2599a6f8848ed11d509e09e (diff)
downloadaports-dc6cc7a0eb173f1fd88df573725d7732deba689f.tar.bz2
aports-dc6cc7a0eb173f1fd88df573725d7732deba689f.tar.xz
main/perl-set-intspan: new aport
Diffstat (limited to 'main/perl-set-intspan')
-rw-r--r--main/perl-set-intspan/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/main/perl-set-intspan/APKBUILD b/main/perl-set-intspan/APKBUILD
new file mode 100644
index 0000000000..03692a5fa7
--- /dev/null
+++ b/main/perl-set-intspan/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor:
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
+pkgname=perl-set-intspan
+_pkgreal=Set-IntSpan
+pkgver=1.19
+pkgrel=0
+pkgdesc="Manages sets of integers, newsrc style"
+url="http://search.cpan.org/dist/Set-IntSpan/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/S/SW/SWMCD/$_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="7c21c2fedce5b7be7d8200e2cf2bdca1 Set-IntSpan-1.19.tar.gz"
+sha256sums="11b7549b13ec5d87cc695dd4c777cd02983dd5fe9866012877fb530f48b3dfd0 Set-IntSpan-1.19.tar.gz"
+sha512sums="de743bc26e4e9daf0bff636279219776421a31d1b3fa5d8e9232e051f2396cbfdd339dacd4aadc006cf31527935550c8659d8c80cbaed5942895239ab36c9cd9 Set-IntSpan-1.19.tar.gz"