aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/perl-term-shelly/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/perl-term-shelly/APKBUILD')
-rw-r--r--unmaintained/perl-term-shelly/APKBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/unmaintained/perl-term-shelly/APKBUILD b/unmaintained/perl-term-shelly/APKBUILD
new file mode 100644
index 0000000000..b37a7a003f
--- /dev/null
+++ b/unmaintained/perl-term-shelly/APKBUILD
@@ -0,0 +1,44 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor:
+# Maintainer:
+pkgname=perl-term-shelly
+_pkgreal=Term-Shelly
+pkgver=0.01
+pkgrel=0
+pkgdesc="Perl module for Term-Shelly"
+url="http://search.cpan.org/dist/Term-Shelly/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=""
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/P/PS/PSIONIC/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal"
+
+prepare() {
+ cd "$_builddir"
+ if [ -e Build.PL ]; then
+ perl Build.PL installdirs=vendor || return 1
+ else
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
+ fi
+}
+
+build() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ make
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="e59c4f12bc4b2a38294355d964d43cd2 Term-Shelly-0.01.tar.gz"
+sha256sums="3785b2ef908433db10ea1dd17dc47b73ce2eb082318f9196b0718d236043fc6c Term-Shelly-0.01.tar.gz"
+sha512sums="1ed3d4cf765288ce93ae2e80fe7f83c1d8a09c5f3ce5a66d6fd89a178f168fb5c21d05d4a20e351b4104ccd756221b04a5477fa052c56eeb77b8247914f15db3 Term-Shelly-0.01.tar.gz"