aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-pango
diff options
context:
space:
mode:
authorFrancesco Colista <francesco.colista@gmail.com>2012-10-29 09:27:19 +0000
committerFrancesco Colista <francesco.colista@gmail.com>2012-10-29 09:27:19 +0000
commit77709a4fe3d9ddc15f3f9ad28af2135a9057df09 (patch)
treedf6bb211eb048c0699b032150253a7c34663cac8 /testing/perl-pango
parent69663fd0886a0be021600e753f4ffb07ce0b46e3 (diff)
downloadaports-77709a4fe3d9ddc15f3f9ad28af2135a9057df09.tar.bz2
aports-77709a4fe3d9ddc15f3f9ad28af2135a9057df09.tar.xz
testing/perl-pango: new aport
Diffstat (limited to 'testing/perl-pango')
-rw-r--r--testing/perl-pango/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/perl-pango/APKBUILD b/testing/perl-pango/APKBUILD
new file mode 100644
index 0000000000..f8fd997004
--- /dev/null
+++ b/testing/perl-pango/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-pango
+_pkgreal=Pango
+pkgver=1.223
+pkgrel=0
+pkgdesc="Layout and render international text"
+url="http://search.cpan.org/dist/Pango/"
+arch="all"
+license="GPL PerlArtistic"
+cpandepends="perl-glib perl-extutils-depends perl-cairo perl-extutils-pkgconfig"
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev pango-dev cairo-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/X/XA/XAOC/$_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="628a6de54f47b6791c6b45edfb835215 Pango-1.223.tar.gz"