summaryrefslogtreecommitdiffstats
path: root/testing/perl-glib-ex-connectproperties
diff options
context:
space:
mode:
authorFrancesco Colista <francesco.colista@gmail.com>2012-10-29 13:22:25 +0000
committerFrancesco Colista <francesco.colista@gmail.com>2012-10-29 13:22:25 +0000
commitb3d32179ed1034b86c0922342a2b009b7413f0fb (patch)
treee9e539fb05ee37df21b785cb8860c444275cb030 /testing/perl-glib-ex-connectproperties
parent67b1c8c5934384d946f4198c1da8a63dbbb06eca (diff)
downloadaports-b3d32179ed1034b86c0922342a2b009b7413f0fb.tar.bz2
aports-b3d32179ed1034b86c0922342a2b009b7413f0fb.tar.xz
testing/perl-glib-ex-connectproperties: new aport
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"