diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2015-09-19 14:18:51 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2015-09-19 14:19:53 +0000 |
commit | 51c7e09a7368f87c26bfb5e5b552547deee9513f (patch) | |
tree | be2cd2e04835236f6850256a3d2814c3d2b98224 /testing/perl-dancer-plugin-swig | |
parent | 7ce897264a25cbaa175b53f5e72a56f9ebb3db90 (diff) | |
download | aports-51c7e09a7368f87c26bfb5e5b552547deee9513f.tar.bz2 aports-51c7e09a7368f87c26bfb5e5b552547deee9513f.tar.xz |
testing/perl-dancer-plugin-swig: new aport
Diffstat (limited to 'testing/perl-dancer-plugin-swig')
-rw-r--r-- | testing/perl-dancer-plugin-swig/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/perl-dancer-plugin-swig/APKBUILD b/testing/perl-dancer-plugin-swig/APKBUILD new file mode 100644 index 0000000000..e2cd680bc4 --- /dev/null +++ b/testing/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" |