aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/perl-dancer-plugin-swig/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/perl-dancer-plugin-swig/APKBUILD')
-rw-r--r--unmaintained/perl-dancer-plugin-swig/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/unmaintained/perl-dancer-plugin-swig/APKBUILD b/unmaintained/perl-dancer-plugin-swig/APKBUILD
new file mode 100644
index 0000000000..e2cd680bc4
--- /dev/null
+++ b/unmaintained/perl-dancer-plugin-swig/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor:
+# Maintainer:
+pkgname=perl-dancer-plugin-swig
+_pkgreal=Dancer-Plugin-Swig
+pkgver=0.02
+pkgrel=0
+pkgdesc="A plugin for swig client"
+url="http://search.cpan.org/dist/Dancer-Plugin-Swig/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends="perl perl-dancer perl-webservice-swigclient"
+cpanmakedepends="perl-test-most perl-test-easy"
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/L/LO/LOGIE/$_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="15776c04e45734be860a74211ac535c6 Dancer-Plugin-Swig-0.02.tar.gz"
+sha256sums="ea67214c5915634736a55df09e8228a74014d7c5c039a6c661e82d66490721a5 Dancer-Plugin-Swig-0.02.tar.gz"
+sha512sums="81a72c1af8a2e7e9c01b0a6c7d79d54f54eda3fa1394670108d516ab1688a9bbce7e1130fba6e2d08d5feb8342dd2cf3c6c3541db4a0f69fd3b22b3595c3652f Dancer-Plugin-Swig-0.02.tar.gz"