aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-webservice-swigclient/APKBUILD
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2015-09-19 14:18:52 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2015-09-19 14:19:55 +0000
commit9d852e14d713fd444e0df73b20eb53f0c6add7d7 (patch)
treee8cfb587547a5e53b7215285ed7e7e7b89f019aa /testing/perl-webservice-swigclient/APKBUILD
parent5e291d15a3634f3e7ad0579c4fbebd495e23a129 (diff)
downloadaports-9d852e14d713fd444e0df73b20eb53f0c6add7d7.tar.bz2
aports-9d852e14d713fd444e0df73b20eb53f0c6add7d7.tar.xz
testing/perl-webservice-swigclient: new aport
Diffstat (limited to 'testing/perl-webservice-swigclient/APKBUILD')
-rw-r--r--testing/perl-webservice-swigclient/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/perl-webservice-swigclient/APKBUILD b/testing/perl-webservice-swigclient/APKBUILD
new file mode 100644
index 0000000000..0c2bb73b48
--- /dev/null
+++ b/testing/perl-webservice-swigclient/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor:
+# Maintainer:
+pkgname=perl-webservice-swigclient
+_pkgreal=WebService-SwigClient
+pkgver=0.001
+pkgrel=0
+pkgdesc="A client for connecting to a swig service"
+url="http://search.cpan.org/dist/WebService-SwigClient/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends="perl-test-most perl-test-easy perl-moo perl-file-slurp perl-www-curl perl-json-xs"
+cpanmakedepends=" "
+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="c768087fd5d39019e51411931ef7acc8 WebService-SwigClient-0.001.tar.gz"
+sha256sums="137d28f5efcfe1c7737d2f0a5bdc9f955c3d14ee2a10a6d5cfa3e0a4851f8d2d WebService-SwigClient-0.001.tar.gz"
+sha512sums="0e1eb0981b1bbc8f004689be85b20e87b1806d43748039831e0bdb032243bb573e43c974725c865d8c98333a376882460fd77c7b247f245370891a42ee2262b1 WebService-SwigClient-0.001.tar.gz"