aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorStuart Cardall <developer@it-offshore.co.uk>2017-02-13 14:51:53 +0000
committerTimo Teräs <timo.teras@iki.fi>2017-02-14 07:57:36 +0000
commitca72095593e2a802b952824a510bb5fb2dbfd29d (patch)
treee4f95890d692f1a2beea32faeb799733dbdc9c60 /community
parentc3863753e7c5b34bac848c43f6e72a58ffa6435e (diff)
downloadaports-ca72095593e2a802b952824a510bb5fb2dbfd29d.tar.bz2
aports-ca72095593e2a802b952824a510bb5fb2dbfd29d.tar.xz
unmaintained/perl-proc-waitstat: move to community / take ownership
Diffstat (limited to 'community')
-rw-r--r--community/perl-mime-construct/APKBUILD39
-rw-r--r--community/perl-proc-waitstat/APKBUILD41
2 files changed, 80 insertions, 0 deletions
diff --git a/community/perl-mime-construct/APKBUILD b/community/perl-mime-construct/APKBUILD
new file mode 100644
index 0000000000..0bcc57959a
--- /dev/null
+++ b/community/perl-mime-construct/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Valery Kartel <valery.kartel@gmail.com>
+# Maintainer: Valery Kartel <valery.kartel@gmail.com>
+pkgname=perl-mime-construct
+_pkgreal=mime-construct
+pkgver=1.11
+pkgrel=2
+pkgdesc="Construct and optionally mail MIME messages"
+url="http://search.cpan.org/~rosch/mime-construct/mime-construct"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends="perl-proc-waitstat perl-mime-types perl-mime-base64"
+cpanmakedepends=" "
+depends="perl $cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/R/RO/ROSCH/$_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="73834ea780fbea81b89dbd9b2fb54f58 mime-construct-1.11.tar.gz"
+sha256sums="4cd7bb61b51d41192d1498c1051aa6a4ccd75aeb09b71d2ec706a7084a4a9303 mime-construct-1.11.tar.gz"
+sha512sums="1192c5a0cd1c7675aaf4d1570c910672d3c3b6585f33e4781de289e8e1d9530c17b6d48083ad68349b46faa8e03be1dfeef16701b12763adc36bfa4f3b399a5f mime-construct-1.11.tar.gz"
diff --git a/community/perl-proc-waitstat/APKBUILD b/community/perl-proc-waitstat/APKBUILD
new file mode 100644
index 0000000000..97cb915ccd
--- /dev/null
+++ b/community/perl-proc-waitstat/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Valery Kartel <valery.kartel@gmail.com>
+# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
+pkgname=perl-proc-waitstat
+_pkgreal=Proc-WaitStat
+pkgver=1.00
+pkgrel=1
+pkgdesc="Perl module interpret and act on wait() status values"
+url="http://search.cpan.org/dist/Proc-WaitStat/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends="perl-ipc-signal"
+depends="$cpandepends"
+makedepends="perl-dev"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/R/RO/ROSCH/$_pkgreal-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$builddir"
+ default_prepare || return 1
+ 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
+ mv "$pkgdir"/usr/share/perl5/vendor_perl/* "$pkgdir"/usr/lib/perl5/vendor_perl
+ rm -fr "$pkgdir"/usr/share/perl5
+}
+
+md5sums="b911bd579b6b142391b21de1efa30c95 Proc-WaitStat-1.00.tar.gz"
+sha256sums="d07563f5e787909d16e7390241e877f49ab739b1de9d0e2ea1a41bd0bf4474bc Proc-WaitStat-1.00.tar.gz"
+sha512sums="7abc1c3771ec560e6138cc7709ca4527a34c897067e13afd57d096d664d6d11a1d80898a955404d8b583972eae8c80689fd8421adaee9bed2601e47afe9ef235 Proc-WaitStat-1.00.tar.gz"