summaryrefslogtreecommitdiffstats
path: root/testing/perl-glib-ex-connectproperties
diff options
context:
space:
mode:
Diffstat (limited to 'testing/perl-glib-ex-connectproperties')
-rw-r--r--testing/perl-glib-ex-connectproperties/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/perl-glib-ex-connectproperties/APKBUILD b/testing/perl-glib-ex-connectproperties/APKBUILD
new file mode 100644
index 000000000..8b37e021e
--- /dev/null
+++ b/testing/perl-glib-ex-connectproperties/APKBUILD
@@ -0,0 +1,39 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+pkgname=perl-glib-ex-connectproperties
+_pkgreal=Glib-Ex-ConnectProperties
+pkgver=19
+pkgrel=0
+pkgdesc="Link properties between objects."
+url="http://search.cpan.org/dist/Glib-Ex-ConnectProperties/"
+arch="noarch"
+license="open_source"
+cpandepends="perl-glib perl-glib-ex-objectbits"
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/K/KR/KRYDE/$_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="e302149bc99d4eeb081e449f066d0f34 Glib-Ex-ConnectProperties-19.tar.gz"