aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-gtk2-ex-datasheet-dbi/APKBUILD
diff options
context:
space:
mode:
authorFrancesco Colista <francesco.colista@gmail.com>2012-10-29 14:44:45 +0000
committerFrancesco Colista <francesco.colista@gmail.com>2012-10-29 14:44:45 +0000
commita127d1c72ad80e74fe341ea80a9bc50041f16a44 (patch)
treee2c934b7b8f2d0a2744bdb1aab6f1a80cada4766 /testing/perl-gtk2-ex-datasheet-dbi/APKBUILD
parent5ca58bba809bc98b8ec35e444bd4e5f298db4a4a (diff)
downloadaports-a127d1c72ad80e74fe341ea80a9bc50041f16a44.tar.bz2
aports-a127d1c72ad80e74fe341ea80a9bc50041f16a44.tar.xz
testing/perl-gtk2-ex-datasheet-dbi: new aport
Diffstat (limited to 'testing/perl-gtk2-ex-datasheet-dbi/APKBUILD')
-rw-r--r--testing/perl-gtk2-ex-datasheet-dbi/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/perl-gtk2-ex-datasheet-dbi/APKBUILD b/testing/perl-gtk2-ex-datasheet-dbi/APKBUILD
new file mode 100644
index 0000000000..c1ebbb7e97
--- /dev/null
+++ b/testing/perl-gtk2-ex-datasheet-dbi/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-gtk2-ex-datasheet-dbi
+_pkgreal=Gtk2-Ex-Datasheet-DBI
+pkgver=2.1
+pkgrel=0
+pkgdesc="unknown"
+url="http://search.cpan.org/dist/Gtk2-Ex-Datasheet-DBI/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends="perl-gtk2 perl-dbi perl-gtk2-ex-dialogs perl-pango"
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/D/DK/DKASAK/$_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
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="728708c2924a9ff08a21def204241fe1 Gtk2-Ex-Datasheet-DBI-2.1.tar.gz"