From 027837b40ee4747111e75c5a2ab235fa71bb81d8 Mon Sep 17 00:00:00 2001 From: Jeff Bilyk Date: Sat, 18 Jun 2011 21:40:52 +0000 Subject: main/perl-dbd-pg: moved from testing --- main/perl-dbd-pg/APKBUILD | 37 +++++++++++++++++++++++++++++++++++++ testing/perl-dbd-pg/APKBUILD | 37 ------------------------------------- 2 files changed, 37 insertions(+), 37 deletions(-) create mode 100644 main/perl-dbd-pg/APKBUILD delete mode 100644 testing/perl-dbd-pg/APKBUILD diff --git a/main/perl-dbd-pg/APKBUILD b/main/perl-dbd-pg/APKBUILD new file mode 100644 index 0000000000..2b28d96f47 --- /dev/null +++ b/main/perl-dbd-pg/APKBUILD @@ -0,0 +1,37 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Timo Teräs +# Maintainer: Timo Teräs +pkgname=perl-dbd-pg +_pkgreal=DBD-Pg +pkgver=2.18.1 +pkgrel=0 +pkgdesc="PostgreSQL database driver for the DBI module" +url="http://search.cpan.org/dist/DBD-Pg/" +arch="all" +license="GPL PerlArtistic" +cpandepends="perl-dbi" +cpanmakedepends="" +depends="$cpandepends" +makedepends="perl-dev postgresql-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/T/TU/TURNSTEP/$_pkgreal-$pkgver.tar.gz" + +_builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + cd "$_builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor +} + +build() { + cd "$_builddir" + make && make test +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +md5sums="1f4a837b3d79789ad6854443fce7a901 DBD-Pg-2.18.1.tar.gz" diff --git a/testing/perl-dbd-pg/APKBUILD b/testing/perl-dbd-pg/APKBUILD deleted file mode 100644 index 2b28d96f47..0000000000 --- a/testing/perl-dbd-pg/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Timo Teräs -# Maintainer: Timo Teräs -pkgname=perl-dbd-pg -_pkgreal=DBD-Pg -pkgver=2.18.1 -pkgrel=0 -pkgdesc="PostgreSQL database driver for the DBI module" -url="http://search.cpan.org/dist/DBD-Pg/" -arch="all" -license="GPL PerlArtistic" -cpandepends="perl-dbi" -cpanmakedepends="" -depends="$cpandepends" -makedepends="perl-dev postgresql-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/T/TU/TURNSTEP/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="1f4a837b3d79789ad6854443fce7a901 DBD-Pg-2.18.1.tar.gz" -- cgit v1.2.3